Skip to content

Commit

Permalink
chore: fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdethier committed Apr 19, 2024
1 parent 12ceeb3 commit 0625b68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/AuthenticatedUser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ describe('AuthenticatedUser', () => {
nodeOwner: ALICE,
});
expect(authenticatedUser.validAccountId.type).toEqual("Ethereum");
expect(authenticatedUser.validAccountId.address).toEqual(USER_ETHEREUM_ADDRESS);
expect(authenticatedUser.validAccountId.address).toEqual(USER_ETHEREUM_ADDRESS.toLowerCase());
})

it("builds valid Account ID for Polkadot address", async () => {
Expand Down
5 changes: 5 additions & 0 deletions test/Authority.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ function mockPolkadotServiceWithLegalOfficer(hosts: Record<string, string>, gues
specName: { toString: () => "logion" },
specVersion: { toBigInt: () => 3000n },
},
consts:{
system: {
ss58Prefix: ({ toNumber: () => 2021 }),
}
}
} as unknown as ApiPromise;
return new LogionNodeApiClass(apiMock);
}
Expand Down

0 comments on commit 0625b68

Please sign in to comment.