Skip to content

Commit

Permalink
Update ListenCommandTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielHudson committed Nov 4, 2023
1 parent a5c398d commit 8ce435d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Feature/ListenCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
use Illuminate\Validation\ValidationException;

it('can call listen command', function () {
config()->set([
'lemon-squeezy.api_key' => 'fake',
'lemon-squeezy.signing_secret' => 'fake',
'lemon-squeezy.store' => '123',
]);

expect(
Artisan::call('lmsqueezy:listen', ['service' => 'test'])
)->toEqual(Command::SUCCESS);
Expand Down

0 comments on commit 8ce435d

Please sign in to comment.