Skip to content
Snippets Groups Projects
Commit 644e6047 authored by Sander Nicolausson's avatar Sander Nicolausson
Browse files

fixes

parent 57af864f
Branches
No related tags found
No related merge requests found
Pipeline #22757 failed
......@@ -95,11 +95,11 @@ test("update person in db", done => {
console.log(
"Test callback: status=" + status + ", data=" + JSON.stringify(data)
);
expect(data.affectedRows).toBeGreaterThanOrEqual(1);
expect(data[0].navn).toBe("Kåre Heia");
done();
}
personDao.updateOne(
{navn: "Kåre Heia", alder: 100, adresse: "Apalveien 11", id: 1}, callback
{navn: "Kåre Heia", alder: 100, adresse: "Apalveien 11"}, 0, callback
);
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment