diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-01-17 18:39:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-17 18:39:56 +0100 |
commit | 796c4c57d085ae4589b53dfe8369ae9ba30ffdaf (patch) | |
tree | 676b02604ae6f358ddb90c59c549465f6e9d6214 /tests/ApplicationUtilsTest.php | |
parent | ef028857531a6abe2d7180538b8510502ee2a467 (diff) | |
parent | def39d0dd7a81a4af9ad68b62c9e9823fbc2b38e (diff) | |
download | Shaarli-796c4c57d085ae4589b53dfe8369ae9ba30ffdaf.tar.gz Shaarli-796c4c57d085ae4589b53dfe8369ae9ba30ffdaf.tar.zst Shaarli-796c4c57d085ae4589b53dfe8369ae9ba30ffdaf.zip |
Run Unit Tests against PHP 7.4 (#1353)
Run Unit Tests against PHP 7.4
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 | /** |