chore: upgrade phpunit to 12.5
This commit is contained in:
1 parent
da039d0527
commit
849da8d471
53 files changed
+832
-856
No files matched your search
@@ -137,13 +137,13 @@ class MyEpClientTest extends TestCase
|
||||
|
||||
private function createClient(): MyEpClient
|
||||
{
|
||||
$urlGenerator = $this->createMock(UrlGeneratorInterface::class);
|
||||
$urlGenerator = $this->createStub(UrlGeneratorInterface::class);
|
||||
$urlGenerator
|
||||
->method('generate')
|
||||
->willReturn('https://myep-team.example.org/myep-auth/check')
|
||||
;
|
||||
|
||||
return new MyEpClient($urlGenerator, $this->createMock(LoggerInterface::class), [
|
||||
return new MyEpClient($urlGenerator, $this->createStub(LoggerInterface::class), [
|
||||
'myep_oauth2_client_id' => 'client-id',
|
||||
'myep_oauth2_client_secret' => 'client-secret',
|
||||
'myep_oauth2_url_authorize' => 'https://my.example.org/authorize',
|
||||
|
||||
Reference in new issue
Block a user