Skip to content

Commit 41cf9c8

Browse files
committed
ITT: Artisan asserts tests added.
1 parent f65bae0 commit 41cf9c8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/Asserts/ArtisanAssertsTest.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
class ArtisanAssertsTest extends TestCase
44
{
5+
/** @test */
6+
public function it_has_will_see_confirmation_assertion()
7+
{
8+
$this->willSeeConfirmation('Are you sure?', ConfirmationCommand::class);
9+
}
10+
11+
/** @test */
12+
public function which_also_works_with_confirmable_trait()
13+
{
14+
$this->willSeeConfirmation('Do you really wish to run this command?', ConfirmableTraitCommand::class);
15+
}
16+
17+
/** @test */
18+
public function it_has_will_not_see_confirmation_assertion()
19+
{
20+
$this->willNotSeeConfirmation('Are you sure?', GenericCommand::class);
21+
}
22+
523
/** @test */
624
public function it_has_see_artisan_output_assertion()
725
{

0 commit comments

Comments
 (0)