Skip to content

Commit

Permalink
修复测试错误问题(现在sql改了)
Browse files Browse the repository at this point in the history
  • Loading branch information
wclimb authored Apr 23, 2018
1 parent 18a40f6 commit 97b4617
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/blog-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var apiModel = require('../lib/mysql.js')
describe('add User', function() {
// 创建一个用户
before((done) => {
apiModel.insertData(['wclimb','123456']).then(()=>{
apiModel.insertData(['wclimb','123456','avator','time']).then(()=>{
done()
});
});
Expand All @@ -27,4 +27,4 @@ describe('add User', function() {
}
})
});
});
});

0 comments on commit 97b4617

Please sign in to comment.