8000 [Cache] cache/integration-tests is now compatible with phpunit namesp… · symfony/symfony@2e2d018 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2e2d018

Browse files
[Cache] cache/integration-tests is now compatible with phpunit namespaces
1 parent 3fe34be commit 2e2d018

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

src/Symfony/Component/Cache/Tests/Adapter/AdapterTestCase.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,6 @@
1313

1414
use Cache\IntegrationTests\CachePoolTest;
1515

16-
if (!class_exists('PHPUnit_Framework_TestCase')) {
17-
abstract class AdapterTestCase
18-
{
19-
public static function setUpBeforeClass()
20-
{
21-
self::markTestSkipped('cache/integration-tests is not yet compatible with namespaced phpunit versions.');
22-
}
23-
}
24-
25-
return;
26-
}
27-
2816
abstract class AdapterTestCase extends CachePoolTest
2917
{
3018
protected function setUp()

src/Symfony/Component/Cache/Tests/Adapter/PredisClusterAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class PredisClusterAdapterTest extends AbstractRedisAdapterTest
1616
public static function setupBeforeClass()
1717
{
1818
parent::setupBeforeClass();
19-
self::$redis = new \Predis\Client(array(getenv('REDIS_HOST')));
19+
self::$redis = new \Predis\Client(array(array('host' => getenv('REDIS_HOST'))));
2020
}
2121

2222
public static function tearDownAfterClass()

0 commit comments

Comments
 (0)
0