Exemple #1
0
 protected function tearDown()
 {
     $this->truncateRuntimeIndex('yii2_test_rt_index');
     parent::tearDown();
 }
 protected function setUp()
 {
     parent::setUp();
     ActiveRecord::$db = $this->getConnection();
     ActiveRecordDb::$db = $this->getDbConnection();
 }