Fix all tests

This commit is contained in:
ErickSkrauch
2019-09-24 01:56:32 +03:00
parent 2beacd0827
commit 22982b319b
3 changed files with 11 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ class OauthSteps extends FunctionalTester {
'grant_type' => 'client_credentials',
'client_id' => $useTrusted ? 'trusted-client' : 'default-client',
'client_secret' => $useTrusted ? 'tXBbyvMcyaOgHMOAXBpN2EC7uFoJAaL9' : 'AzWRy7ZjS1yRQUk2vRBDic8fprOKDB1W',
'scope' => implode(',', $permissions),
'scope' => implode(' ', $permissions),
]);
$response = json_decode($this->grabResponse(), true);