Skip to content

Commit 19bb434

Browse files
committed
Ignore GuzzleTests for PHP 7 as there seem to be some issues
1 parent fe3c0d2 commit 19bb434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lib/Elastica/Test/Transport/GuzzleTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class GuzzleTest extends BaseTest
1212
{
1313
public static function setUpBeforeClass()
1414
{
15-
if (!class_exists('GuzzleHttp\\Client')) {
15+
if (!class_exists('GuzzleHttp\\Client') || version_compare(phpversion(), '7', '>=')) {
1616
self::markTestSkipped('guzzlehttp/guzzle package should be installed to run guzzle transport tests');
1717
}
1818
}

0 commit comments

Comments
 (0)