From 80c6e3d66f9a575b1852a78c31f0156c48d48320 Mon Sep 17 00:00:00 2001 From: Sebastian Gerske Date: Fri, 16 Nov 2018 15:22:08 +0100 Subject: [PATCH] fix tests --- test/ocean/ServiceAgreement.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/ocean/ServiceAgreement.test.ts b/test/ocean/ServiceAgreement.test.ts index 98e8ddb..7157388 100644 --- a/test/ocean/ServiceAgreement.test.ts +++ b/test/ocean/ServiceAgreement.test.ts @@ -43,7 +43,8 @@ describe("ServiceAgreement", () => { // create ddo conditions out of the keys const ddoConditions: DDOCondition[] = conditions.map((condition): DDOCondition => { return { - name: condition.methodReflection.methodName, + contractName: condition.methodReflection.contractName, + methodName: condition.methodReflection.methodName, timeout: condition.timeout, conditionKey: condition.condtionKey, parameters: condition.methodReflection.inputs.map((input) => {