Fix use of validateStatus().

This commit is contained in:
MS 2021-08-15 23:43:19 -11:00
parent de7e4ee015
commit 0f851aceed
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -57,11 +57,11 @@ export async function runLibeufinApiFacadeBadRequestTest(t: GlobalTestState) {
config: {}, // malformation here.
},
{
validateStatus: () => true,
auth: {
username: "admin",
password: "test",
},
validateStatus: () => true,
},
);
t.assertTrue(resp.status == 400);