Преглед на файлове

Fix wrong correct output for test

sbkwgh преди 8 години
родител
ревизия
52a69b7191
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      test/user.js

+ 1 - 1
test/user.js

@@ -35,7 +35,7 @@ describe('User', () => {
 				.end((err, res) => {
 					res.should.have.status(200)
 					res.should.be.json
-					res.body.should.have.property('username', 'test')
+					res.body.should.have.property('username', 'username')
 					res.body.should.have.property('hash')
 					
 					done()