mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 16:13:12 +09:00
Fix inventoryImports/interfacingFunctions test
Fix test in inventoryImports/interfacingFunctions breaking due to masterAuthSecret not being defined in the config.
This commit is contained in:
1 parent
a39a17b220
commit
5a9e2a8825
1 file changed
+1
@@ -14,6 +14,7 @@ describe("inventoryImports/interfacingFunctions.js", function(){
|
|||||||
let config = {
|
let config = {
|
||||||
masterIP:"localhost",
|
masterIP:"localhost",
|
||||||
masterPort:8080,
|
masterPort:8080,
|
||||||
|
masterAuthToken:"",
|
||||||
}
|
}
|
||||||
it("returns false if given invalid input", function(){
|
it("returns false if given invalid input", function(){
|
||||||
assert(functions.handleInventory("this is a string") === false, "when given strings it should return false and do nothing");
|
assert(functions.handleInventory("this is a string") === false, "when given strings it should return false and do nothing");
|
||||||
|
|||||||
Reference in new issue
Block a user