From ba11b0ab7da07c0ee0f86face17eb40a8604a185 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Fri, 5 Jan 2024 16:12:44 +0100 Subject: [PATCH] version-check remote-result-testing not yet possible with new workflow of development Signed-off-by: Michael Kaufmann --- tests/Froxlor/FroxlorTest.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tests/Froxlor/FroxlorTest.php b/tests/Froxlor/FroxlorTest.php index 0190b5e9..3e47fd7e 100644 --- a/tests/Froxlor/FroxlorTest.php +++ b/tests/Froxlor/FroxlorTest.php @@ -1,8 +1,7 @@ checkUpdate(); $result = json_decode($json_result, true)['data']; - $this->assertContains($result['isnewerversion'] ?? -1, [0,1]); + $this->assertContains($result['isnewerversion'] ?? -1, [0, 1]); $this->assertNotEmpty($result['version']); - if ($result['isnewerversion'] == 0) { - if (defined('DEV_FROXLOR') && DEV_FROXLOR == 1) { - $this->assertEquals("You already have the latest testing-version of Froxlor installed.", $result['additional_info']); - } else { - $this->assertEquals("You already have the latest version of Froxlor installed.", $result['additional_info']); - } - } } }