Skip to content

Commit 48286bb

Browse files
committed
Allow PHPUnit 13
1 parent 1a2a487 commit 48286bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"cakephp/debug_kit": "^5.0.1",
3333
"composer/semver": "^3.0",
3434
"fig-r/psr2r-sniffer": "dev-master",
35-
"phpunit/phpunit": "^11.5 || ^12.1"
35+
"phpunit/phpunit": "^11.5 || ^12.1 || ^13.0"
3636
},
3737
"minimum-stability": "stable",
3838
"prefer-stable": true,

tests/TestCase/Controller/Component/AuthenticationComponentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ protected function getControllerMock(ServerRequest $request): Controller {
184184
->onlyMethods(['isAction'])
185185
->getMock();
186186

187-
$controller->expects($this->any())->method('isAction')->willReturn(true);
187+
$controller->method('isAction')->willReturn(true);
188188

189189
return $controller;
190190
}

0 commit comments

Comments
 (0)