]> git.mxchange.org Git - friendica.git/blobdiff - tests/Util/AppMockTrait.php
Merge pull request #10813 from tobiasd/20211003-lengthcounter
[friendica.git] / tests / Util / AppMockTrait.php
index f48a85380f4f585233408248c42c685a408d6462..4266a4a0238c9fafea32882a102bafa15443a148 100644 (file)
@@ -101,6 +101,8 @@ trait AppMockTrait
                        ->andReturn($root->url());
 
                $this->profilerMock = \Mockery::mock(Profiler::class);
+               $this->profilerMock->shouldReceive('startRecording');
+               $this->profilerMock->shouldReceive('stopRecording');
                $this->profilerMock->shouldReceive('saveTimestamp');
                $this->dice->shouldReceive('create')
                           ->with(Profiler::class)