From 0482f4ae084b90a2d8160da55f65e762abcc0178 Mon Sep 17 00:00:00 2001 From: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com> Date: Mon, 1 Jun 2026 01:06:06 +0100 Subject: [PATCH] Added test for invalid assigned host --- plugins/player_auth/test/plugin.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/player_auth/test/plugin.js b/plugins/player_auth/test/plugin.js index 78e24594..079b4b4f 100644 --- a/plugins/player_auth/test/plugin.js +++ b/plugins/player_auth/test/plugin.js @@ -132,7 +132,8 @@ describe("player_auth", function() { addInstance(5, "running", true, undefined, "1.1.5", 34197); addInstance(6, "running", true, "no port", "1.1.6", undefined); addInstance(7, "running", true, "no host", "1.1.7", 34197, null); - addInstance(8, "running", true, "no version", undefined, 34197); + addInstance(8, "running", true, "invalid host", "1.1.8", 34197, 2); + addInstance(9, "running", true, "no version", undefined, 34197); controllerPlugin.controller.hosts.set(1, { publicAddress: "127.0.0.1",