[Cache] cache/integration-tests is now compatible with phpunit namespaces

This commit is contained in:
Nicolas Grekas 2017-03-17 13:59:59 +01:00
parent 3fe34be1ed
commit 2e2d018dd8
2 changed files with 1 additions and 13 deletions

View File

@ -13,18 +13,6 @@ namespace Symfony\Component\Cache\Tests\Adapter;
use Cache\IntegrationTests\CachePoolTest;
if (!class_exists('PHPUnit_Framework_TestCase')) {
abstract class AdapterTestCase
{
public static function setUpBeforeClass()
{
self::markTestSkipped('cache/integration-tests is not yet compatible with namespaced phpunit versions.');
}
}
return;
}
abstract class AdapterTestCase extends CachePoolTest
{
protected function setUp()

View File

@ -16,7 +16,7 @@ class PredisClusterAdapterTest extends AbstractRedisAdapterTest
public static function setupBeforeClass()
{
parent::setupBeforeClass();
self::$redis = new \Predis\Client(array(getenv('REDIS_HOST')));
self::$redis = new \Predis\Client(array(array('host' => getenv('REDIS_HOST'))));
}
public static function tearDownAfterClass()