From 3a230bedd51258130ccf00b97cbcbdaf622a570c Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 27 Jul 2021 06:28:56 +0000 Subject: [PATCH] And again --- tests/src/Util/Logger/ProfilerLoggerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/Util/Logger/ProfilerLoggerTest.php b/tests/src/Util/Logger/ProfilerLoggerTest.php index 2dbb604f96..7b62446142 100644 --- a/tests/src/Util/Logger/ProfilerLoggerTest.php +++ b/tests/src/Util/Logger/ProfilerLoggerTest.php @@ -59,7 +59,7 @@ class ProfilerLoggerTest extends MockedTest $logger = new ProfilerLogger($this->logger, $this->profiler); $this->logger->shouldReceive($function)->with($message, $context)->once(); - $this->profiler->shouldReceive('startRecording')->with(\Mockery::any(), 'file')->once(); + $this->profiler->shouldReceive('startRecording')->with('file')->once(); $this->profiler->shouldReceive('stopRecording'); $this->profiler->shouldReceive('saveTimestamp'); $logger->$function($message, $context); @@ -74,7 +74,7 @@ class ProfilerLoggerTest extends MockedTest $logger = new ProfilerLogger($this->logger, $this->profiler); $this->logger->shouldReceive('log')->with(LogLevel::WARNING, 'test', ['a' => 'context'])->once(); - $this->profiler->shouldReceive('startRecording')->with(\Mockery::any(), 'file')->once(); + $this->profiler->shouldReceive('startRecording')->with('file')->once(); $this->profiler->shouldReceive('stopRecording'); $this->profiler->shouldReceive('saveTimestamp');