Skip to content

Commit efd88b1

Browse files
committed
Fix broken unit-tests for ServerController.
1 parent 4fc7618 commit efd88b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

solid/tests/Unit/Controller/ServerControllerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ public function testRegisterWithRedirectUris()
348348
'registration_client_uri' => '',
349349
'response_types' => ['id_token token'],
350350
'token_endpoint_auth_method' => 'client_secret_basic',
351+
'client_secret' => '3b5798fddd49e23662ee6fe801085100'
351352
],
352353
'headers' => [
353354
'Cache-Control' => 'no-cache, no-store, must-revalidate',
@@ -369,6 +370,7 @@ public function testToken()
369370
{
370371
$_POST['client_id'] = self::MOCK_CLIENT_ID;
371372
$_POST['code'] = '';
373+
$_POST['grant_type'] = 'authorization_code';
372374
$_SERVER['HTTP_DPOP'] = 'mock dpop';
373375
$_SESSION['nonce'] = 'mock nonce';
374376

0 commit comments

Comments
 (0)