Change function name to setConfidential()

This commit is contained in:
Andrew Millington 2018-08-15 21:40:41 +01:00
parent 8ab27ede39
commit fb43801458
No known key found for this signature in database
GPG Key ID: 077754CA23023F4F
3 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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);

View File

@ -15,7 +15,7 @@ class ClientEntity implements ClientEntityInterface
$this->redirectUri = $uri;
}
public function setIsConfidential()
public function setConfidential()
{
$this->isConfidential = true;
}