From a28a788d884e65b1aedc78826409486b4f43edc0 Mon Sep 17 00:00:00 2001
From: Erlend <erlendsu@stud.ntnu.no>
Date: Mon, 24 Sep 2018 17:49:43 +0200
Subject: [PATCH] =?UTF-8?q?nice=20bra=20sak=C3=A6r?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 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 a7f49e6..e4b32de 100644
--- a/dao/persondao.test.js
+++ b/dao/persondao.test.js
@@ -83,7 +83,7 @@ test("update person in db", done => {
         console.log(
             "Test callback: status=" + status + ", data=" + JSON.stringify(data)
         );
-        expect(data[0].navn).toBe("Olav Olavsen");
+        expect(data.changedRows).toBe(1);
         done();
     }
 
-- 
GitLab