Unit Tests for Email Out

Modified tests to allow these unit tests to pass, but does not address the fault caused by the Node Test Helper - credentials only loaded after the flow has been loaded.
This commit is contained in:
wooferguy
2023-02-20 21:09:48 +13:00
parent 2a18d72c15
commit 84f4dd586e
2 changed files with 6 additions and 3 deletions

View File

@@ -53,6 +53,8 @@ module.exports = function(RED) {
if (globalkeys) {
this.userid = globalkeys.user;
flag = true;
} else {
this.error(RED._("email.errors.nouserid"));
}
}
if(this.authtype === "BASIC" ) {