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.
|
config: {}, // malformation here.
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
validateStatus: () => true,
|
|
||||||
auth: {
|
auth: {
|
||||||
username: "admin",
|
username: "admin",
|
||||||
password: "test",
|
password: "test",
|
||||||
},
|
},
|
||||||
|
validateStatus: () => true,
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
t.assertTrue(resp.status == 400);
|
t.assertTrue(resp.status == 400);
|
||||||
|
Loading…
Reference in New Issue
Block a user