We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eddba2 commit 657fc76Copy full SHA for 657fc76
tests/Unit/Console/Commands/SelfHost/SelfHostTelemetryCommandTest.php
@@ -30,8 +30,11 @@ public function test_telemetry_sends_data_to_telemetry_endpoint_of_solidtime_clo
30
$exitCode = $this->withoutMockingConsoleOutput()->artisan('self-host:telemetry');
31
32
// Assert
33
- $this->assertSame(Command::SUCCESS, $exitCode);
34
$output = Artisan::output();
+ if ($exitCode !== Command::SUCCESS) {
35
+ dump($output);
36
+ }
37
+ $this->assertSame(Command::SUCCESS, $exitCode);
38
$this->assertSame('', $output);
39
}
40
0 commit comments