routes spec fix
This commit is contained in:
parent
62679342a7
commit
13c3ffce27
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue