diff --git a/framework/CHANGELOG.md b/framework/CHANGELOG.md index 08982f47655..fe3470618fb 100644 --- a/framework/CHANGELOG.md +++ b/framework/CHANGELOG.md @@ -4,6 +4,7 @@ Yii Framework 2 Change Log 2.0.51 under development ------------------------ +- Bug #16116: Codeception: oci does not support enabling/disabling integrity check (@terabytesoftw) - Bug #20191: Fix `ActiveRecord::getDirtyAttributes()` for JSON columns with multi-dimensional array values (brandonkelly) - Bug #20175: Fix bad result for pagination when used with GridView (@lav45) diff --git a/framework/test/InitDbFixture.php b/framework/test/InitDbFixture.php index f18bd16b97a..6007b1a0ebd 100644 --- a/framework/test/InitDbFixture.php +++ b/framework/test/InitDbFixture.php @@ -95,6 +95,11 @@ public function checkIntegrity($check) if (!$this->db instanceof \yii\db\Connection) { return; } + + if ($this->db->getDriverName() === 'oci') { + return; + } + foreach ($this->schemas as $schema) { $this->db->createCommand()->checkIntegrity($check, $schema)->execute(); }