mirror of
https://github.com/zoriya/flood.git
synced 2026-06-06 20:12:19 +00:00
client: tests: properly stub /api/auth/authenticate response
This commit is contained in:
@@ -34,6 +34,7 @@ context('Login', () => {
|
|||||||
cy.route({
|
cy.route({
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: 'http://127.0.0.1:4200/api/auth/authenticate',
|
url: 'http://127.0.0.1:4200/api/auth/authenticate',
|
||||||
|
response: {},
|
||||||
status: 500,
|
status: 500,
|
||||||
}).as('verify-request');
|
}).as('verify-request');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user