mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-11-26 16:52:04 +05:30
Change function name to setConfidential()
This commit is contained in:
parent
8ab27ede39
commit
fb43801458
@ -148,7 +148,7 @@ class AuthorizationServerTest extends TestCase
|
|||||||
{
|
{
|
||||||
$client = new ClientEntity();
|
$client = new ClientEntity();
|
||||||
$client->setRedirectUri('http://foo/bar');
|
$client->setRedirectUri('http://foo/bar');
|
||||||
$client->setIsConfidential();
|
$client->setConfidential();
|
||||||
$clientRepositoryMock = $this->getMockBuilder(ClientRepositoryInterface::class)->getMock();
|
$clientRepositoryMock = $this->getMockBuilder(ClientRepositoryInterface::class)->getMock();
|
||||||
$clientRepositoryMock->method('getClientEntity')->willReturn($client);
|
$clientRepositoryMock->method('getClientEntity')->willReturn($client);
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ class AuthCodeGrantTest extends TestCase
|
|||||||
{
|
{
|
||||||
$client = new ClientEntity();
|
$client = new ClientEntity();
|
||||||
$client->setRedirectUri('http://foo/bar');
|
$client->setRedirectUri('http://foo/bar');
|
||||||
$client->setIsConfidential();
|
$client->setConfidential();
|
||||||
|
|
||||||
$clientRepositoryMock = $this->getMockBuilder(ClientRepositoryInterface::class)->getMock();
|
$clientRepositoryMock = $this->getMockBuilder(ClientRepositoryInterface::class)->getMock();
|
||||||
$clientRepositoryMock->method('getClientEntity')->willReturn($client);
|
$clientRepositoryMock->method('getClientEntity')->willReturn($client);
|
||||||
@ -124,7 +124,7 @@ class AuthCodeGrantTest extends TestCase
|
|||||||
{
|
{
|
||||||
$client = new ClientEntity();
|
$client = new ClientEntity();
|
||||||
$client->setRedirectUri(['http://foo/bar']);
|
$client->setRedirectUri(['http://foo/bar']);
|
||||||
$client->setIsConfidential();
|
$client->setConfidential();
|
||||||
$clientRepositoryMock = $this->getMockBuilder(ClientRepositoryInterface::class)->getMock();
|
$clientRepositoryMock = $this->getMockBuilder(ClientRepositoryInterface::class)->getMock();
|
||||||
$clientRepositoryMock->method('getClientEntity')->willReturn($client);
|
$clientRepositoryMock->method('getClientEntity')->willReturn($client);
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ class ClientEntity implements ClientEntityInterface
|
|||||||
$this->redirectUri = $uri;
|
$this->redirectUri = $uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setIsConfidential()
|
public function setConfidential()
|
||||||
{
|
{
|
||||||
$this->isConfidential = true;
|
$this->isConfidential = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user