From 7717097c9636ff7f142dc58bde141eab0e1e867d Mon Sep 17 00:00:00 2001 From: sclubricants Date: Tue, 23 Aug 2022 11:44:47 -0700 Subject: [PATCH] Fix test --- tests/system/Database/Live/SQLite/AlterTableTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/system/Database/Live/SQLite/AlterTableTest.php b/tests/system/Database/Live/SQLite/AlterTableTest.php index d58d8dd209..fbce09ffb8 100644 --- a/tests/system/Database/Live/SQLite/AlterTableTest.php +++ b/tests/system/Database/Live/SQLite/AlterTableTest.php @@ -189,6 +189,10 @@ final class AlterTableTest extends CIUnitTestCase // check that composite index was dropped. $this->assertFalse(isset($indexes['actions_category_name'])); + // check that that other keys are present + $this->assertTrue(isset($indexes['actions_name'])); + $this->assertTrue(isset($indexes['actions_created_at'])); + $this->forge->dropTable('actions'); }