We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7717097 commit 9a4ee1bCopy full SHA for 9a4ee1b
tests/system/Database/Live/SQLite/AlterTableTest.php
@@ -187,11 +187,11 @@ public function testDropColumnDropCompositeKey()
187
$indexes = $this->db->getIndexData('actions');
188
189
// check that composite index was dropped.
190
- $this->assertFalse(isset($indexes['actions_category_name']));
+ $this->assertArrayNotHasKey('actions_category_name', $indexes);
191
192
// check that that other keys are present
193
- $this->assertTrue(isset($indexes['actions_name']));
194
- $this->assertTrue(isset($indexes['actions_created_at']));
+ $this->assertArrayHasKey('actions_name', $indexes);
+ $this->assertArrayHasKey('actions_created_at', $indexes);
195
196
$this->forge->dropTable('actions');
197
}
0 commit comments