Skip to content

Commit e3f92a1

Browse files
authored
Merge pull request #1061 from cakephp/fix-build
Fix build
2 parents 6d4979b + ea54bb4 commit e3f92a1

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

tests/TestCase/Model/Table/RequestTableTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ public function testGc()
8383
{
8484
/** @var \PHPUnit\Framework\MockObject\MockObject&\DebugKit\Model\Table\RequestsTable $requestsTableMock */
8585
$requestsTableMock = $this->getMockForModel('DebugKit.Requests', ['shouldGc']);
86-
$requestsTableMock->method('shouldGc')
86+
$requestsTableMock
87+
->expects($this->atLeastOnce())
88+
->method('shouldGc')
8789
->willReturn(true);
8890

8991
$data = array_fill(0, 10, [
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Error 400!
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Error 500!

0 commit comments

Comments
 (0)