Skip to content
Snippets Groups Projects
Commit 2591b734 authored by Øivind Haugerøy Larsson's avatar Øivind Haugerøy Larsson
Browse files

hei

parent 7be08b8d
Branches
No related tags found
No related merge requests found
Pipeline #22941 passed
......@@ -103,9 +103,9 @@ test("delete person from db", done => {
console.log(
"Test callback: status= " + status + ", data=" +JSON.stringify(data)
);
expect(personDao.getAll(callback)).toBe(1);
//expect(personDao.getAll(callback)).toBe(2);
expect(data.affectedRows).toBeGreaterThanOrEqual(1);
done();
}
personDao.deleteOne(2, callback);
personDao.deleteOne(1, callback);
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment