From b60cc350a83609a57648cb1215640e59f6e14c00 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 12 Nov 2018 01:21:30 +0700 Subject: [PATCH] update migration tests to remove migration file after run migration --- tests/system/Commands/SessionsCommandsTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/system/Commands/SessionsCommandsTest.php b/tests/system/Commands/SessionsCommandsTest.php index d89cf87f41b2..529200441898 100644 --- a/tests/system/Commands/SessionsCommandsTest.php +++ b/tests/system/Commands/SessionsCommandsTest.php @@ -51,6 +51,7 @@ public function setUp() public function tearDown() { stream_filter_remove($this->stream_filter); + system('rm ' . APPPATH . '/Database/Migrations/*.php'); } public function testCreateMigrationCommand()