Skip to content
Snippets Groups Projects
Commit 115cbe5f authored by Lars Sørlie's avatar Lars Sørlie
Browse files

Lita feil

parent 84960216
Branches
No related tags found
No related merge requests found
Pipeline #22430 failed
...@@ -73,7 +73,7 @@ test("get all persons from db", done => { ...@@ -73,7 +73,7 @@ test("get all persons from db", done => {
personDao.getAll(callback); personDao.getAll(callback);
}); });
//William suger
test("delete one Person from db", done => { test("delete one Person from db", done => {
...@@ -96,8 +96,7 @@ test("update one Person from db", done => { ...@@ -96,8 +96,7 @@ test("update one Person from db", done => {
); );
expect(data.affectedRows).toBeGreaterThanOrEqual(1); expect(data.affectedRows).toBeGreaterThanOrEqual(1);
done(); done();
}//Hate }
personDao.updateOne({ navn: "Nils Nilsen", alder: 44, adresse: "Gata 3", gid: 5},callback) personDao.updateOne({ navn: "Nils Nilsen", alder: 44, adresse: "Gata 3", gid: 5},callback)
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment