Skip to content
Snippets Groups Projects
Commit 8c218b4d authored by David Maus's avatar David Maus Committed by Demian Katz
Browse files

Skip test if PHP version < 5.3.4

* tests/unit-tests/src/ILS/Driver/SymphonyTest.php
(testBadBaseUrl): Skip test if PHP version < 5.3.4.
parent 0d2b4cd3
No related merge requests found
......@@ -56,6 +56,10 @@ class SymphonyTest extends \VuFindTest\Unit\TestCase
*/
public function testBadBaseUrl()
{
if (!version_compare(\PHP_VERSION, '5.3.4', '>=')) {
$this->markTestSkipped('Test requires PHP >= 5.3.4 (see VUFIND-660)');
}
// Without SOAP functionality, we can't proceed:
if (!class_exists('SoapClient')) {
$this->markTestSkipped();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment