diff --git a/tests/Froxlor/FroxlorTest.php b/tests/Froxlor/FroxlorTest.php index 773b211b..dd07d9f4 100644 --- a/tests/Froxlor/FroxlorTest.php +++ b/tests/Froxlor/FroxlorTest.php @@ -1,4 +1,5 @@ checkUpdate(); $result = json_decode($json_result, true)['data']; $this->assertEquals(0, $result['isnewerversion']); - $this->assertEquals("You already have the latest version of Froxlor installed.", $result['additional_info']); + 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']); + } } } diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 529c376c..0e8adbbd 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,4 +1,7 @@