From 46e7fc89b469a774fa26a89b5124306fa0ea258e Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sat, 4 Aug 2018 22:01:07 +0200 Subject: Fixed tests after #431: Hotfix php7 syntax error --- tests/Unit/Exceptions/HandlerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/Unit/Exceptions') diff --git a/tests/Unit/Exceptions/HandlerTest.php b/tests/Unit/Exceptions/HandlerTest.php index 40202be8..5a6ffe16 100644 --- a/tests/Unit/Exceptions/HandlerTest.php +++ b/tests/Unit/Exceptions/HandlerTest.php @@ -61,10 +61,10 @@ class HandlerTest extends TestCase /** @var Handler|Mock $handler */ $handler = $this->getMockBuilder(Handler::class) - ->setMethods(['die']) + ->setMethods(['terminateApplicationImmediately']) ->getMock(); $handler->expects($this->once()) - ->method('die'); + ->method('terminateApplicationImmediately'); $handler->setHandler(Handler::ENV_PRODUCTION, $handlerMock); -- cgit v1.2.3-54-g00ecf