Skip to content

Commit 7717097

Browse files
committed
Fix test
1 parent b2ad447 commit 7717097

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ public function testDropColumnDropCompositeKey()
189189
// check that composite index was dropped.
190190
$this->assertFalse(isset($indexes['actions_category_name']));
191191

192+
// check that that other keys are present
193+
$this->assertTrue(isset($indexes['actions_name']));
194+
$this->assertTrue(isset($indexes['actions_created_at']));
195+
192196
$this->forge->dropTable('actions');
193197
}
194198

0 commit comments

Comments
 (0)