diff options
Diffstat (limited to 'tests/ApplicationUtilsTest.php')
-rw-r--r-- | tests/ApplicationUtilsTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ApplicationUtilsTest.php b/tests/ApplicationUtilsTest.php index 82f8804d..15388970 100644 --- a/tests/ApplicationUtilsTest.php +++ b/tests/ApplicationUtilsTest.php | |||
@@ -253,9 +253,9 @@ class ApplicationUtilsTest extends \PHPUnit\Framework\TestCase | |||
253 | public function testCheckSupportedPHPVersion() | 253 | public function testCheckSupportedPHPVersion() |
254 | { | 254 | { |
255 | $minVersion = '5.3'; | 255 | $minVersion = '5.3'; |
256 | ApplicationUtils::checkPHPVersion($minVersion, '5.4.32'); | 256 | $this->assertTrue(ApplicationUtils::checkPHPVersion($minVersion, '5.4.32')); |
257 | ApplicationUtils::checkPHPVersion($minVersion, '5.5'); | 257 | $this->assertTrue(ApplicationUtils::checkPHPVersion($minVersion, '5.5')); |
258 | ApplicationUtils::checkPHPVersion($minVersion, '5.6.10'); | 258 | $this->assertTrue(ApplicationUtils::checkPHPVersion($minVersion, '5.6.10')); |
259 | } | 259 | } |
260 | 260 | ||
261 | /** | 261 | /** |
@@ -265,7 +265,7 @@ class ApplicationUtilsTest extends \PHPUnit\Framework\TestCase | |||
265 | */ | 265 | */ |
266 | public function testCheckSupportedPHPVersion51() | 266 | public function testCheckSupportedPHPVersion51() |
267 | { | 267 | { |
268 | ApplicationUtils::checkPHPVersion('5.3', '5.1.0'); | 268 | $this->assertTrue(ApplicationUtils::checkPHPVersion('5.3', '5.1.0')); |
269 | } | 269 | } |
270 | 270 | ||
271 | /** | 271 | /** |
@@ -275,7 +275,7 @@ class ApplicationUtilsTest extends \PHPUnit\Framework\TestCase | |||
275 | */ | 275 | */ |
276 | public function testCheckSupportedPHPVersion52() | 276 | public function testCheckSupportedPHPVersion52() |
277 | { | 277 | { |
278 | ApplicationUtils::checkPHPVersion('5.3', '5.2'); | 278 | $this->assertTrue(ApplicationUtils::checkPHPVersion('5.3', '5.2')); |
279 | } | 279 | } |
280 | 280 | ||
281 | /** | 281 | /** |