diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts index e6f7d5741..77e0d1bd5 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances-delete.ts @@ -110,7 +110,8 @@ export async function runMerchantInstancesDeleteTest(t: GlobalTestState) { const unauthMerchantClient = new MerchantApiClient( merchant.makeInstanceBaseUrl(), { - method: "external", + method: "token", + token: "secret-token:invalid", }, ); @@ -119,7 +120,7 @@ export async function runMerchantInstancesDeleteTest(t: GlobalTestState) { }); console.log(exc); t.assertAxiosError(exc); - t.assertDeepEqual(exc.response?.status, 403); + t.assertDeepEqual(exc.response?.status, 401); } } |