Skip to content

Commit

Permalink
Fix up admin nodes test for audit log changes
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Aug 9, 2019
1 parent 1644007 commit e2db958
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/@node-red/editor-api/lib/admin/nodes_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ describe("api/admin/nodes", function() {
nodes.init({
nodes:{
getModuleCatalog: function(opts) {
return Promise.resolve(opts);
return Promise.resolve({a:123});
}
}
});
Expand All @@ -452,7 +452,7 @@ describe("api/admin/nodes", function() {
if (err) {
throw err;
}
res.body.should.eql({ module: 'module/set' });
res.body.should.eql({a:123});
done();
});
});
Expand Down

0 comments on commit e2db958

Please sign in to comment.