Skip to content

Commit 6d47957

Browse files
committed
update test
1 parent 5e146f4 commit 6d47957

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Modules/IexecPoco.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ describe('IexecPoco', () => {
1212
const dealId = Bytes.fromHexString(
1313
'0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef',
1414
);
15-
const sponsor = Address.fromHexString('0xabcdef1234567890abcdef1234567890abcdef12');
15+
const sponsor = Address.fromString('0xabcdef1234567890abcdef1234567890abcdef12');
1616
const timestamp = BigInt.fromI32(123456789);
1717

1818
// Create the mock event
@@ -31,7 +31,7 @@ describe('IexecPoco', () => {
3131
.concat('-')
3232
.concat(mockEvent.logIndex.toString());
3333

34-
assert.fieldEquals('DealSponsored', entityId, 'deal', dealId.toHex());
34+
assert.fieldEquals('DealSponsored', entityId, 'dealId', dealId.toHex());
3535
assert.fieldEquals('DealSponsored', entityId, 'sponsor', sponsor.toHex());
3636
assert.fieldEquals('DealSponsored', entityId, 'timestamp', timestamp.toString());
3737

0 commit comments

Comments
 (0)