routes spec fix

This commit is contained in:
Carlos Jimenez 2018-03-05 15:24:54 +01:00
parent 62679342a7
commit 13c3ffce27
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ describe('Auth routes', () => {
});
it('should define the url to continue upon login', done => {
req.body.user = 'JessicaJones';
req.body.user = 'developer';
req.body.password = 'nightmare';
req.body.location = 'http://localhost:5000/auth/?apiKey=salix&continue="continueURL"';
res.json = response => {
@ -70,7 +70,7 @@ describe('Auth routes', () => {
});
it('should define the loginUrl upon login', done => {
req.body.user = 'JessicaJones';
req.body.user = 'developer';
req.body.password = 'nightmare';
req.body.location = 'http://localhost:5000/auth/?apiKey=salix';
res.json = response => {