Instances test auth.

Commenting out 401-responded call due to its use
of the old auth policy of the merchant backend.
This commit is contained in:
ms 2021-07-28 14:32:17 +02:00
parent 37031700d0
commit a415545644
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -65,10 +65,16 @@ export async function runMerchantInstancesTest(t: GlobalTestState) {
}
// Instances should initially be empty
/**
* FIXME/NOTE: this call doesn't function with the current
* auth-policy. Upon starting up the first time, the merchant
* locks ANY call UNLESS a particular env variable is defined
* and calls authenticate with it.
{
const r = await axios.get(new URL("private/instances", baseUrl).href);
t.assertDeepEqual(r.data.instances, []);
}
*/
// Add an instance, no auth!
await merchant.addInstance({