fix server-side version-check response message check

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-11-27 15:38:35 +01:00
parent ae8cd3dc8a
commit fa547197e8

View File

@@ -21,7 +21,7 @@ class FroxlorTest extends TestCase
$result = json_decode($json_result, true)['data'];
$this->assertEquals(0, $result['isnewerversion']);
if (defined('DEV_FROXLOR') && DEV_FROXLOR == 1) {
$this->assertEquals("You already have the latest testing version of Froxlor installed.", $result['additional_info']);
$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']);
}