File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ public function setUp(): void
2626 public function it_gives_an_instantiated_pushover_object_when_the_channel_asks_for_it (): void
2727 {
2828 Config::shouldReceive ('get ' )->with ('services.pushover.token ' , null )->once ()->andReturn ('test-token ' );
29- Config::shouldReceive ('get ' )->with ('database.default ' )->once ()->andReturn ('array ' );
30- Config::shouldReceive ('get ' )->with ('database.connections.array ' )->once ()->andReturn (['driver ' => 'array ' ]);
29+ Config::shouldReceive ('get ' )->with ('database.default ' )->zeroOrMoreTimes ()->andReturn ('array ' );
30+ Config::shouldReceive ('get ' )->with ('database.connections.array ' )->zeroOrMoreTimes ()->andReturn (['driver ' => 'array ' ]);
3131
3232 $ this ->app ->when (PushoverChannel::class)->needs (Pushover::class)->give (function () {
3333 return new Pushover (Mockery::mock (HttpClient::class), 'test-token ' );
You can’t perform that action at this time.
0 commit comments