diff --git a/test/blog-test.js b/test/blog-test.js index be7a638..19fbc17 100644 --- a/test/blog-test.js +++ b/test/blog-test.js @@ -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() }); }); @@ -27,4 +27,4 @@ describe('add User', function() { } }) }); -}); \ No newline at end of file +});