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:
parent
16440072fb
commit
e2db958510
@ -441,7 +441,7 @@ describe("api/admin/nodes", function() {
|
|||||||
nodes.init({
|
nodes.init({
|
||||||
nodes:{
|
nodes:{
|
||||||
getModuleCatalog: function(opts) {
|
getModuleCatalog: function(opts) {
|
||||||
return Promise.resolve(opts);
|
return Promise.resolve({a:123});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -452,7 +452,7 @@ describe("api/admin/nodes", function() {
|
|||||||
if (err) {
|
if (err) {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
res.body.should.eql({ module: 'module/set' });
|
res.body.should.eql({a:123});
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user