Fix oauth token generation

This commit is contained in:
René Preuß
2019-12-09 22:46:23 +01:00
parent 29a46a9ef9
commit f2d064caef
2 changed files with 2 additions and 4 deletions

View File

@@ -14,8 +14,6 @@ class ApiOauthTest extends ApiTestCase
public function testGetOauthToken(): void
{
$this->getClient()->withClientId('5');
$this->getClient()->withClientSecret('jejmtAJJWeEesW1siWwojjLn6zW9AIcWH1wqfFPq');
$this->registerResult($result = $this->getClient()->retrievingToken('client_credentials', [
'scope' => '',
]));