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

update

parent 5c18a57d
No related branches found
No related tags found
No related merge requests found
Pipeline #49282 failed
......@@ -81,7 +81,7 @@ test("get all persons from db", done => {
test("delete one persom 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.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