Skip to content

Commit d08f0db

Browse files
committed
ITT: Tests added.
1 parent 448ad25 commit d08f0db

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

tests/Asserts/ArtisanAssertsTest.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,15 @@ public function which_is_also_works_with_confirmable_trait()
3333
{
3434
$this->willGiveConfirmation('Do you really wish to run this command?', ConfirmableTraitCommand::class);
3535

36-
$this->seeArtisanOutput(__DIR__ . '/ArtisanAssertsTest/confirmable.correct.output.txt');
36+
$this->seeArtisanOutput(__DIR__ . '/ArtisanAssertsTest/confirmable.accepted.output.txt');
37+
}
38+
39+
/** @test */
40+
public function it_has_will_not_give_confirmation_assertion()
41+
{
42+
$this->willNotGiveConfirmation('Are you sure?', ConfirmationCommand::class);
43+
44+
$this->dontSeeArtisanOutput(__DIR__ . '/ArtisanAssertsTest/confirmable.accepted.output.txt');
3745
}
3846

3947
/** @test */
File renamed without changes.

0 commit comments

Comments
 (0)