Skip to content

Commit 9a4ee1b

Browse files
committed
fix
1 parent 7717097 commit 9a4ee1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/system/Database/Live/SQLite/AlterTableTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ public function testDropColumnDropCompositeKey()
187187
$indexes = $this->db->getIndexData('actions');
188188

189189
// check that composite index was dropped.
190-
$this->assertFalse(isset($indexes['actions_category_name']));
190+
$this->assertArrayNotHasKey('actions_category_name', $indexes);
191191

192192
// check that that other keys are present
193-
$this->assertTrue(isset($indexes['actions_name']));
194-
$this->assertTrue(isset($indexes['actions_created_at']));
193+
$this->assertArrayHasKey('actions_name', $indexes);
194+
$this->assertArrayHasKey('actions_created_at', $indexes);
195195

196196
$this->forge->dropTable('actions');
197197
}

0 commit comments

Comments
 (0)