Skip to content

Commit

Permalink
finish rename
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Dec 10, 2024
1 parent 2694348 commit c20e273
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/property/ic_api/certified_data/test/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,16 +336,16 @@ async function testCertifiedData(
const canisterPrincipal = Principal.fromText(getCanisterId(canisterName));

const result = await certVarCanister.getData();
const value = new Uint8Array(result.value);
expect(value).toEqual(expectedValue);
const data = new Uint8Array(result.data);
expect(data).toEqual(expectedValue);

const certificate = await createAndVerifyCertificate(
result.certificate,
agent,
canisterPrincipal
);
verifyTimestamp(certificate);
verifyCertifiedData(certificate, canisterPrincipal, value);
verifyCertifiedData(certificate, canisterPrincipal, data);
}

async function createAndVerifyCertificate(
Expand Down

0 comments on commit c20e273

Please sign in to comment.