mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
fixed constructor overriding in test classes
now use setUp() instead
This commit is contained in:
@ -11,7 +11,7 @@ class DbCacheTest extends CacheTest
|
||||
private $_cacheInstance;
|
||||
private $_connection;
|
||||
|
||||
function __construct()
|
||||
protected function setUp()
|
||||
{
|
||||
if (!extension_loaded('pdo') || !extension_loaded('pdo_mysql')) {
|
||||
$this->markTestSkipped('pdo and pdo_mysql extensions are required.');
|
||||
|
Reference in New Issue
Block a user