Skip to content

Commit

Permalink
Remove duplicate test from auth router tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diegohaz committed Oct 9, 2016
1 parent d7dcf14 commit 14f0943
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions generators/app/templates/api/auth/auth.router.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,6 @@ test.serial('POST /auth 400 (master) - invalid password', async (t) => {
t.true(body.param === 'password')
})

test.serial('POST /auth 400 (master) - invalid password', async (t) => {
const { status, body } = await request(app())
.post('/')
.query({ access_token: masterKey })
.auth('a@a.com', '123')
t.true(status === 400)
t.true(typeof body === 'object')
t.true(body.param === 'password')
})

test.serial('POST /auth 401 (master) - user does not exist', async (t) => {
const { status } = await request(app())
.post('/')
Expand Down

0 comments on commit 14f0943

Please sign in to comment.