@@ -97,6 +97,9 @@ public function testInitializeMigrationsTable(): void {
9797 '--init '
9898 ]);
9999
100+ // Debug: Print actual output
101+ echo "DEBUG testInitializeMigrationsTable output: " . json_encode ($ output ) . "\n" ;
102+
100103 $ this ->assertContains ("Initializing migrations table... \n" , $ output );
101104 $ this ->assertEquals (0 , $ this ->getExitCode ());
102105
@@ -116,6 +119,9 @@ public function testExecuteMigrationsWithNoMigrations(): void {
116119 '--connection ' => 'test-connection '
117120 ]);
118121
122+ // Debug: Print actual output
123+ echo "DEBUG testExecuteMigrationsWithNoMigrations output: " . json_encode ($ output ) . "\n" ;
124+
119125 $ this ->assertContains ("Info: No migrations found. \n" , $ output );
120126 $ this ->assertEquals (0 , $ this ->getExitCode ());
121127 }
@@ -130,6 +136,8 @@ public function testRollbackWithNoMigrations(): void {
130136 '--rollback '
131137 ]);
132138
139+ // Debug: Print actual output
140+ echo "DEBUG testRollbackWithNoMigrations output: " . json_encode ($ output ) . "\n" ;
133141 $ this ->assertContains ("Info: No migrations found. \n" , $ output );
134142 $ this ->assertEquals (0 , $ this ->getExitCode ());
135143 }
@@ -145,6 +153,8 @@ public function testRollbackAllWithNoMigrations(): void {
145153 '--all '
146154 ]);
147155
156+ // Debug: Print actual output
157+ echo "DEBUG testRollbackAllWithNoMigrations output: " . json_encode ($ output ) . "\n" ;
148158 $ this ->assertContains ("Info: No migrations found. \n" , $ output );
149159 $ this ->assertEquals (0 , $ this ->getExitCode ());
150160 }
@@ -160,6 +170,8 @@ public function testExecuteMigrationsWithValidRunner(): void {
160170 '--connection ' => 'test-connection ' ,
161171 '--runner ' => 'TestMigrationRunner '
162172 ]);
173+ // Debug: Print actual output
174+ echo "DEBUG testExecuteMigrationsWithValidRunner output: " . json_encode ($ output ) . "\n" ;
163175
164176 // The test runner has no migrations, so it should report no migrations found
165177 $ this ->assertContains ("Info: No migrations found. \n" , $ output );
0 commit comments