Skip to content

Commit

Permalink
Fix #16116: Codeception: oci does not support enabling/disabling inte…
Browse files Browse the repository at this point in the history
…grity check
  • Loading branch information
terabytesoftw authored Jun 12, 2024
1 parent ec46ede commit fe5688d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions framework/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
5 changes: 5 additions & 0 deletions framework/test/InitDbFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit fe5688d

Please sign in to comment.