integration support for harness p4-fixed test

Signed-off-by: Calvin Lee <cjlee@ualberta.ca>
This commit is contained in:
Calvin Lee
2024-04-23 16:43:47 -06:00
parent ed8b5324da
commit 0cf356671a
@@ -98,14 +98,6 @@ const handlers = [
);
},
),
rest.post('/api/login', (req, res, ctx) => {
const { username } = req.body;
if (username === 'admin') {
return res(ctx.status(200), ctx.json({ token: 'fake-token' }));
}
return res(ctx.status(403), ctx.json({ message: 'Access Denied' }));
}),
];
describe('HarnessUrlReader', () => {