mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Updated tests to reflect addition of version getSet
This commit is contained in:
parent
475d9e110e
commit
10681f97d9
@ -117,6 +117,9 @@ describe("nodes api", function() {
|
||||
var getNodeInfo = sinon.stub(redNodes,'getNodeInfo', function(id) {
|
||||
return {"node-red/123":{id:"node-red/123"}}[id];
|
||||
});
|
||||
var getModuleVersion = sinon.stub(redNodes,'getModuleVersion', function(module) {
|
||||
return {"node-red": {version: "0.0.1"}}[module];
|
||||
});
|
||||
request(app)
|
||||
.get('/nodes/node-red/123')
|
||||
.set('Accept', 'application/json')
|
||||
|
Loading…
Reference in New Issue
Block a user