From 72105f4362ba25fafdb77d9dfed8ef7566686df0 Mon Sep 17 00:00:00 2001 From: Jordan Last Date: Mon, 22 Apr 2024 14:23:38 -0500 Subject: [PATCH] fix large file uploads tests --- examples/large_files/test/tests.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/large_files/test/tests.ts b/examples/large_files/test/tests.ts index 49ccc2e08d..ca16b68b61 100644 --- a/examples/large_files/test/tests.ts +++ b/examples/large_files/test/tests.ts @@ -43,7 +43,7 @@ export function getTests(canisterId: string): Test[] { } catch (err: any) { return { Ok: err.message.includes( - 'Not Authorized: must be a controller to call this method' + 'Not Authorized: only controllers of this canister may call this method' ) }; } @@ -62,7 +62,7 @@ export function getTests(canisterId: string): Test[] { } catch (err: any) { return { Ok: err.message.includes( - 'Not Authorized: must be a controller to call this method' + 'Not Authorized: only controllers of this canister may call this method' ) }; } @@ -81,7 +81,7 @@ export function getTests(canisterId: string): Test[] { } catch (err: any) { return { Ok: err.message.includes( - 'Not Authorized: must be a controller to call this method' + 'Not Authorized: only controllers of this canister may call this method' ) }; } @@ -100,7 +100,7 @@ export function getTests(canisterId: string): Test[] { } catch (err: any) { return { Ok: err.message.includes( - 'Not Authorized: must be a controller to call this method' + 'Not Authorized: only controllers of this canister may call this method' ) }; }