protected function setUp() { parent::setUp(); ActiveRecord::$db = $this->getConnection(); $this->mockWebApplication(); $this->breadcrumbs = new Breadcrumbs(); }
public function setUp() { parent::setUp(); $this->mockApplication(); ActiveRecord::$db = $this->getConnection(); }
protected function setUp() { parent::setUp(); ActiveRecord::$db = $this->getConnection(); }
protected function setUp() { static::$params = (require __DIR__ . '/data/config.php'); parent::setUp(); ActiveRecord::$db = $this->getConnection(); }
protected function tearDown() { parent::tearDown(); FileHelper::removeDirectory(Yii::getAlias('@runtime/assets')); }
public function tearDown() { parent::tearDown(); }
protected function setUp() { static::$params = (require __DIR__ . '/data/config.php'); parent::setUp(); self::$db = BaseRecord::$db = $this->getConnection(self::$db === null, self::$db === null); }