Skip to content

Commit 657fc76

Browse files
committed
Fix for tests
1 parent 3eddba2 commit 657fc76

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/Unit/Console/Commands/SelfHost/SelfHostTelemetryCommandTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ public function test_telemetry_sends_data_to_telemetry_endpoint_of_solidtime_clo
3030
$exitCode = $this->withoutMockingConsoleOutput()->artisan('self-host:telemetry');
3131

3232
// Assert
33-
$this->assertSame(Command::SUCCESS, $exitCode);
3433
$output = Artisan::output();
34+
if ($exitCode !== Command::SUCCESS) {
35+
dump($output);
36+
}
37+
$this->assertSame(Command::SUCCESS, $exitCode);
3538
$this->assertSame('', $output);
3639
}
3740

0 commit comments

Comments
 (0)