Fix use of validateStatus().
This commit is contained in:
parent
de7e4ee015
commit
0f851aceed
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user