From ec89363a97bd51f48da09457a31988a7cef6ed47 Mon Sep 17 00:00:00 2001 From: William Andersson <williaan@stud.ntnu.no> Date: Tue, 25 Sep 2018 13:01:12 +0200 Subject: [PATCH] fix test --- dao/persondao.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/persondao.test.js b/dao/persondao.test.js index 4a424ad..b42c0b7 100644 --- a/dao/persondao.test.js +++ b/dao/persondao.test.js @@ -103,7 +103,7 @@ test("update a person", done =>{ test("delete a person", done => { function callback(status, data) { - personDao.getAll(callback); + personDao.getAll(callback2); } function callback2(status, data) { console.log( -- GitLab