Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mozex committed Mar 14, 2024
1 parent fb8283e commit db553cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Feature/SchedulesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
->pluck('command')
->flatten()
->map(
fn ($command) => str_contains($command, '"artisan" ')
? str($command)->after('"artisan" ')->toString()
fn ($command) => str_contains($command, 'artisan')
? str($command)->explode(' ')->last()
: $command
)
->toArray();
Expand Down

0 comments on commit db553cf

Please sign in to comment.