diff --git a/tests/AuthorizationServerTest.php b/tests/AuthorizationServerTest.php index e0f45d98..7e83ee5e 100644 --- a/tests/AuthorizationServerTest.php +++ b/tests/AuthorizationServerTest.php @@ -148,7 +148,7 @@ class AuthorizationServerTest extends TestCase { $client = new ClientEntity(); $client->setRedirectUri('http://foo/bar'); - $client->setIsConfidential(); + $client->setConfidential(); $clientRepositoryMock = $this->getMockBuilder(ClientRepositoryInterface::class)->getMock(); $clientRepositoryMock->method('getClientEntity')->willReturn($client); diff --git a/tests/Grant/AuthCodeGrantTest.php b/tests/Grant/AuthCodeGrantTest.php index b0652d00..867a08d9 100644 --- a/tests/Grant/AuthCodeGrantTest.php +++ b/tests/Grant/AuthCodeGrantTest.php @@ -84,7 +84,7 @@ class AuthCodeGrantTest extends TestCase { $client = new ClientEntity(); $client->setRedirectUri('http://foo/bar'); - $client->setIsConfidential(); + $client->setConfidential(); $clientRepositoryMock = $this->getMockBuilder(ClientRepositoryInterface::class)->getMock(); $clientRepositoryMock->method('getClientEntity')->willReturn($client); @@ -124,7 +124,7 @@ class AuthCodeGrantTest extends TestCase { $client = new ClientEntity(); $client->setRedirectUri(['http://foo/bar']); - $client->setIsConfidential(); + $client->setConfidential(); $clientRepositoryMock = $this->getMockBuilder(ClientRepositoryInterface::class)->getMock(); $clientRepositoryMock->method('getClientEntity')->willReturn($client); diff --git a/tests/Stubs/ClientEntity.php b/tests/Stubs/ClientEntity.php index 9d34edb0..d908248b 100644 --- a/tests/Stubs/ClientEntity.php +++ b/tests/Stubs/ClientEntity.php @@ -15,7 +15,7 @@ class ClientEntity implements ClientEntityInterface $this->redirectUri = $uri; } - public function setIsConfidential() + public function setConfidential() { $this->isConfidential = true; }