Skip to content

Commit

Permalink
[minor] replace removed phpunit method (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbond authored Jan 1, 2021
1 parent e5e2e04 commit 60bee6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Schedule/SelfSchedulingCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function schedule(CommandTask $task): void
};

$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessageRegExp('/is not a console command/');
$this->expectExceptionMessageMatches('/is not a console command/');

(new MockScheduleBuilder())
->addSubscriber(new SelfSchedulingCommandSubscriber([$command]))
Expand Down

0 comments on commit 60bee6c

Please sign in to comment.