From cb527724e77706590bb2d653ccf9b74527ae83cd Mon Sep 17 00:00:00 2001
From: Sander Nicolausson <sandern@stud.ntnu.no>
Date: Mon, 24 Sep 2018 15:25:54 +0200
Subject: [PATCH] fix

---
 dao/persondao.test.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dao/persondao.test.js b/dao/persondao.test.js
index d8fbdb9..d122601 100644
--- a/dao/persondao.test.js
+++ b/dao/persondao.test.js
@@ -99,8 +99,7 @@ test("Update in db", done => {
     done();
   }
   personDao.updateOne(
-    { navn: "Donald Nilsen", alder: 34, adresse: "Apalveien 11" },
-    0,
+    { navn: "Donald Nilsen", alder: 34, adresse: "Apalveien 11", id: 1 },
     callback
   );
 });
-- 
GitLab