merchant spec test: adapt to updated spec

This commit is contained in:
Florian Dold 2021-08-13 14:41:25 +02:00
parent 9e07bc9963
commit eb553be841
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -273,10 +273,7 @@ export async function runMerchantSpecPublicOrdersTest(t: GlobalTestState) {
const httpResp = await httpLib.get(url.href, {
headers: { Accept: "text/html" },
});
t.assertDeepEqual(httpResp.status, 302);
const location = httpResp.headers.get("Location");
console.log("location header:", location);
t.assertDeepEqual(location, "https://example.com/article42");
t.assertDeepEqual(httpResp.status, 200);
}
const confirmPayRes2 = await wallet.client.call(