We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1f2b59 commit 9932e3aCopy full SHA for 9932e3a
tests/PushoverServiceProviderTest.php
@@ -26,6 +26,8 @@ public function setUp(): void
26
public function it_gives_an_instantiated_pushover_object_when_the_channel_asks_for_it(): void
27
{
28
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']);
31
32
$this->app->when(PushoverChannel::class)->needs(Pushover::class)->give(function () {
33
return new Pushover(Mockery::mock(HttpClient::class), 'test-token');
0 commit comments