Skip to content
Snippets Groups Projects
Commit 989b81a4 authored by Marius Nygard's avatar Marius Nygard
Browse files

njk

parent 5171b291
Branches bug-fixes
No related tags found
No related merge requests found
Pipeline #22439 failed
...@@ -73,3 +73,17 @@ test("get all persons from db", done => { ...@@ -73,3 +73,17 @@ test("get all persons from db", done => {
personDao.getAll(callback); personDao.getAll(callback);
}); });
test("oppdate en pers", done=>{
function callback(status, data) {
console.log(
"Test callback: status=" + status + ", data.length=" + data.length+"asddsasd"
);
expect(data.length).toBeGreaterThanOrEqual(2);
done();
}
personDao.ChangeName(["forandra",0],callback);
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment