Skip to content
Snippets Groups Projects
Commit c3a92d46 authored by Annabelle Solem Almås's avatar Annabelle Solem Almås
Browse files

test4

parent 9ac86e3b
No related branches found
No related tags found
No related merge requests found
Pipeline #22850 passed
...@@ -84,7 +84,7 @@ test("delete a person from db", done => { ...@@ -84,7 +84,7 @@ test("delete a person from db", done => {
console.log( console.log(
"Test callback status=" + status + ", data.length=" + data.length "Test callback status=" + status + ", data.length=" + data.length
); );
expect(data.affectedRows).toBe(0); expect(data.affectedRows).toBe(1);
done(); done();
} }
personDao.deleteOne(id= 1, callback) personDao.deleteOne(id= 1, callback)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment