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']); - } - } } }