Skip to content
Snippets Groups Projects
Commit 79454d8b authored by Sander Nicolausson's avatar Sander Nicolausson
Browse files

fixes

parent 0d3bb704
Branches
No related tags found
No related merge requests found
Pipeline #22755 failed
...@@ -83,7 +83,7 @@ test("delete person from db", done => { ...@@ -83,7 +83,7 @@ test("delete 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.length).toBeLessThan(2); expect(data.affectedRows).toBeGreaterThanOrEqual(1);
done(); done();
} }
...@@ -95,7 +95,7 @@ test("update person in db", done => { ...@@ -95,7 +95,7 @@ test("update person in db", done => {
console.log( console.log(
"Test callback: status=" + status + ", data=" + JSON.stringify(data) "Test callback: status=" + status + ", data=" + JSON.stringify(data)
); );
expect(data.affectedRows).toBeGreaterThanOrEqual(2); expect(data.affectedRows).toBeGreaterThanOrEqual(1);
done(); done();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment