瀏覽代碼

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()