Skip to content

Commit a623680

Browse files
committed
Fixes tests
1 parent bd21437 commit a623680

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Foundation/Bootstrap/HandleExceptionsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class HandleExceptionsTest extends TestCase
1616
{
1717
protected function setUp(): void
1818
{
19-
$this->app = Application::setInstance(new Application);
19+
$this->app = m::mock(Application::setInstance(new Application));
2020

2121
$this->config = new Config();
2222

@@ -31,7 +31,7 @@ protected function setUp(): void
3131

3232
$property->setValue(
3333
$this->handleExceptions,
34-
tap(m::mock($this->app), function ($app) {
34+
tap($this->app, function ($app) {
3535
$app->shouldReceive('runningUnitTests')->andReturn(false);
3636
$app->shouldReceive('hasBeenBootstrapped')->andReturn(true);
3737
})

0 commit comments

Comments
 (0)