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

Correcting setFlow test

Because of the change made into the credentials, the saveCredentials needs to be defined for the setFLow to work
This commit is contained in:
Antoine Aflalo 2014-07-16 13:25:43 +03:00
parent 9650b3ed38
commit ac889e18d2

View File

@ -107,6 +107,9 @@ describe('flows', function() {
defer.resolve();
should.deepEqual(testFlows, conf);
return defer.promise;
},
saveCredentials: function (creds) {
return when(true);
}
};
RED.init({}, storage);