diff options
author | Sebastian <sebasjm@gmail.com> | 2021-08-05 15:02:52 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-08-05 15:02:56 -0300 |
commit | 8dbf1270830c67466099baaa3ae7570ce8ec7eb7 (patch) | |
tree | 11631cec330ce91dbe2397076e43011873ff97f4 /packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts | |
parent | e073f3a793f85cfd79088fda6b4da626b4456f3f (diff) | |
download | wallet-core-8dbf1270830c67466099baaa3ae7570ce8ec7eb7.tar.xz |
issue #6945: Move instance management API to /management instead of /private
Diffstat (limited to 'packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts index 73d4a0224..da45b4661 100644 --- a/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts +++ b/packages/taler-wallet-cli/src/integrationtests/test-merchant-instances.ts @@ -66,7 +66,7 @@ export async function runMerchantInstancesTest(t: GlobalTestState) { // Instances should initially be empty { - const r = await axios.get(new URL("private/instances", baseUrl).href); + const r = await axios.get(new URL("management/instances", baseUrl).href); t.assertDeepEqual(r.data.instances, []); } @@ -102,7 +102,7 @@ export async function runMerchantInstancesTest(t: GlobalTestState) { // Check that a "malformed" bearer Authorization header gets ignored { const url = merchant.makeInstanceBaseUrl(); - const resp = await axios.get(new URL("private/instances", url).href, { + const resp = await axios.get(new URL("management/instances", url).href, { headers: { Authorization: "foo bar-baz", }, @@ -143,7 +143,7 @@ export async function runMerchantInstancesTest(t: GlobalTestState) { // Now, try some variations. { const url = merchant.makeInstanceBaseUrl(); - const resp = await axios.get(new URL("private/instances", url).href, { + const resp = await axios.get(new URL("management/instances", url).href, { headers: { // Note the spaces Authorization: "Bearer secret-token:foobar", |