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 bd21437 commit a623680Copy full SHA for a623680
tests/Foundation/Bootstrap/HandleExceptionsTest.php
@@ -16,7 +16,7 @@ class HandleExceptionsTest extends TestCase
16
{
17
protected function setUp(): void
18
19
- $this->app = Application::setInstance(new Application);
+ $this->app = m::mock(Application::setInstance(new Application));
20
21
$this->config = new Config();
22
@@ -31,7 +31,7 @@ protected function setUp(): void
31
32
$property->setValue(
33
$this->handleExceptions,
34
- tap(m::mock($this->app), function ($app) {
+ tap($this->app, function ($app) {
35
$app->shouldReceive('runningUnitTests')->andReturn(false);
36
$app->shouldReceive('hasBeenBootstrapped')->andReturn(true);
37
})
0 commit comments