From deedcccfcb1500e053d5c0a1fce53f6263825dea Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Mon, 27 May 2024 22:02:55 -0600 Subject: [PATCH] fix pre and post upgrade --- examples/pre_and_post_upgrade/test/tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/pre_and_post_upgrade/test/tests.ts b/examples/pre_and_post_upgrade/test/tests.ts index c4aea72ba7..f62317a783 100644 --- a/examples/pre_and_post_upgrade/test/tests.ts +++ b/examples/pre_and_post_upgrade/test/tests.ts @@ -31,7 +31,7 @@ export function getTests( name: 'getEntries', test: async () => { const result = await preAndPostUpgradeCanister.getEntries(); - const expected = { '0': 0n }; + const expected = { key: '0', value: 0n }; return testEquality(result, [expected]); } @@ -48,7 +48,7 @@ export function getTests( name: 'getEntries', test: async () => { const result = await preAndPostUpgradeCanister.getEntries(); - const expected = { '0': 1n }; + const expected = { key: '0', value: 1n }; return testEquality(result, [expected]); }