Skip to content

Commit

Permalink
fix(test): updates
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Apr 29, 2019
1 parent 413d06a commit 969d3f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/1_sessions.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@ describe('sessions', function () {

it('should redirect on un-auth', function (done) {
unauthAgent.get('http://localhost:3111/tickets').end(function (err, res) {
expect(err).to.not.exist
expect(res.status).to.equal(200)
expect(res.text).to.include('<title>Trudesk &middot; Login</title>')
expect(err).to.exist
expect(res.status).to.equal(401)

done()
})
Expand Down

0 comments on commit 969d3f2

Please sign in to comment.