Skip to content
Permalink
Browse files

fix(test): updates

  • Loading branch information...
polonel committed Apr 29, 2019
1 parent 413d06a commit 969d3f2ca1df74399aa17f0c01b5bac25984f5f8
Showing with 2 additions and 3 deletions.
  1. +2 −3 test/1_sessions.js
@@ -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()
})

0 comments on commit 969d3f2

Please sign in to comment.
You can’t perform that action at this time.