diff --git a/framework/yii/test/DbFixtureManager.php b/framework/yii/test/DbFixtureManager.php index 23d25d442c..931e81ed46 100644 --- a/framework/yii/test/DbFixtureManager.php +++ b/framework/yii/test/DbFixtureManager.php @@ -214,7 +214,7 @@ class DbFixtureManager extends Component public function checkIntegrity($check) { foreach ($this->schemas as $schema) { - $this->db->createCommand()->checkIntegrity($check, $schema); + $this->db->createCommand()->checkIntegrity($check, $schema)->execute(); } } }