From c9cf2715f0ec10d51d881d386de9fa818f76af46 Mon Sep 17 00:00:00 2001 From: VirtualTam Date: Tue, 24 Nov 2015 01:36:12 +0100 Subject: application: move checkPHPVersion from Utils to ApplicationUtils Relates to #372 Signed-off-by: VirtualTam --- tests/UtilsTest.php | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'tests/UtilsTest.php') diff --git a/tests/UtilsTest.php b/tests/UtilsTest.php index 311d4bfb..4847ea94 100644 --- a/tests/UtilsTest.php +++ b/tests/UtilsTest.php @@ -138,37 +138,6 @@ class UtilsTest extends PHPUnit_Framework_TestCase $this->assertEquals('?', generateLocation($ref, 'localhost')); } - /** - * Check supported PHP versions - */ - public function testCheckSupportedPHPVersion() - { - $minVersion = '5.3'; - checkPHPVersion($minVersion, '5.4.32'); - checkPHPVersion($minVersion, '5.5'); - checkPHPVersion($minVersion, '5.6.10'); - } - - /** - * Check a unsupported PHP version - * @expectedException Exception - * @expectedExceptionMessageRegExp /Your PHP version is obsolete/ - */ - public function testCheckSupportedPHPVersion51() - { - checkPHPVersion('5.3', '5.1.0'); - } - - /** - * Check another unsupported PHP version - * @expectedException Exception - * @expectedExceptionMessageRegExp /Your PHP version is obsolete/ - */ - public function testCheckSupportedPHPVersion52() - { - checkPHPVersion('5.3', '5.2'); - } - /** * Test is_session_id_valid with a valid ID - TEST ALL THE HASHES! * -- cgit v1.2.3