Skip to content
Snippets Groups Projects
Commit eab62d2e authored by Eric Younger's avatar Eric Younger
Browse files

update

parent afa574d3
No related branches found
No related tags found
No related merge requests found
Pipeline #49250 failed
......@@ -90,7 +90,7 @@ test("delete one persom from db", done =>{
test("update one person from db", done =>{
function callback(status, data){
console.log("Test callback: status" + status + ", data.length=" + data.length);
expect(data.length).toBe(1);
expect(data.affectedRows).toBe(1);
done();
}
personDao.updateOne({navn : "Eric Younger", adresse : "Tullegata 123", alder : 29, id: 1},callback);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment