diff --git a/library/Icinga/Test/BaseTestCase.php b/library/Icinga/Test/BaseTestCase.php index f836e2725..4ff58c521 100644 --- a/library/Icinga/Test/BaseTestCase.php +++ b/library/Icinga/Test/BaseTestCase.php @@ -145,6 +145,8 @@ namespace Icinga\Test { /** * Setup mock object for the application's bootstrap + * + * @return Mockery\Mock */ protected function setupIcingaMock() { @@ -163,6 +165,7 @@ namespace Icinga\Test { ->shouldReceive('getResponse')->andReturn($responseMock); Icinga::setApp($bootstrapMock, true); + return $bootstrapMock; } /**