diff --git a/dao/persondao.js b/dao/persondao.js
index 0a85e2c78a17aec1f59e5e1b147fc5cf3819280b..5db06c4eacff06fabd89f009493d13d4b9ecff6a 100644
--- a/dao/persondao.js
+++ b/dao/persondao.js
@@ -29,7 +29,7 @@ module.exports = class PersonDao extends Dao {
 //Lagt inn Update
   updateOne(json, callback){
     var val = [json.navn, json.adresse, json.alder, json.id];
-    super.query("update person set navn=?, alder=?, adresse=? where id=?", val, callback);
+    super.query("update person set navn=?, adresse=?, alder=? where id=?", val, callback);
   }
 };
 
diff --git a/dao/persondao.test.js b/dao/persondao.test.js
index 8f1715d5378f6bedf47d82d6a967e18aa6945d63..45836e5380ee45f9147e3af6bc28e4eb860d0841 100644
--- a/dao/persondao.test.js
+++ b/dao/persondao.test.js
@@ -104,7 +104,7 @@ test("update one person from  db", done => {
   done();
 }
 personDao.updateOne({
-  navn: "Eric Younger",
+  navn: "Jon bergquist",
   adresse: "Tullegata 123",
   alder: 29,
   id: 3