Skip to content

Commit 149dc56

Browse files
committed
test: cover --json flag
1 parent df35c0c commit 149dc56

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/Integration/Core/AboutCommandTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,11 @@ public function test_shows_current_kernel_version(): void
4545
->call(AboutCommand::class)
4646
->assertSee(Kernel::VERSION);
4747
}
48+
49+
public function test_json(): void
50+
{
51+
$this->console
52+
->call(AboutCommand::class, ['json' => true])
53+
->assertJson();
54+
}
4855
}

0 commit comments

Comments
 (0)