Skip to content

Commit b10658e

Browse files
committed
Merge branch '5.x' into 5.next
2 parents b1a8a91 + e3f92a1 commit b10658e

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

src/Command/BenchmarkCommand.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@
3131
*/
3232
class BenchmarkCommand extends Command
3333
{
34+
/**
35+
* @return string
36+
*/
37+
public static function getDescription(): string
38+
{
39+
return 'Benchmark a fully qualified URL.';
40+
}
41+
3442
/**
3543
* The console io
3644
*

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)