1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix up admin nodes test for audit log changes

This commit is contained in:
Nick O'Leary 2019-08-09 17:27:32 +01:00
parent 16440072fb
commit e2db958510
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -441,7 +441,7 @@ describe("api/admin/nodes", function() {
nodes.init({
nodes:{
getModuleCatalog: function(opts) {
return Promise.resolve(opts);
return Promise.resolve({a:123});
}
}
});
@ -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();
});
});