[Cache] cache/integration-tests is now compatible with phpunit namespaces
This commit is contained in:
parent
3fe34be1ed
commit
2e2d018dd8
@ -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()
|
||||
|
@ -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()
|
||||
|
Reference in New Issue
Block a user