Skip to content

Commit

Permalink
Fix typos in backend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilioImp committed Jan 17, 2020
1 parent a1eaa94 commit 5e30ae7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/integration/routes/registrationConsultant.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const db = require('../../../sequelizeSettings.js');

const Consultant = require('../../../models/consultant.js');

describe('/api/user/login', () => {
describe('/api/consultant/register', () => {

//start the server before each test suite
beforeEach( done => {
Expand Down Expand Up @@ -59,7 +59,7 @@ describe('/api/user/login', () => {
done();
});

//it should return a 400 because the company sevret is wrong
//it should return a 400 because the company secret is wrong
it('should return a 400', async (done) => {

const exec = async () => {
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/routes/registrationOwner.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const db = require('../../../sequelizeSettings.js');

const Owner = require('../../../models/owner.js');

describe('/api/user/login', () => {
describe('/api/user/owner/register', () => {

//start the server before each test suite
beforeEach( done => {
Expand Down

0 comments on commit 5e30ae7

Please sign in to comment.