Skip to content

Commit 85e62d1

Browse files
committed
fix test by adding grant_type authorization_code
1 parent cd3d0d9 commit 85e62d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

solid/tests/Unit/Controller/ServerControllerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ public function testToken()
370370
{
371371
$_POST['client_id'] = self::MOCK_CLIENT_ID;
372372
$_POST['code'] = '';
373+
$_POST['grant_type'] = 'authorization_code';
373374
$_SERVER['HTTP_DPOP'] = 'mock dpop';
374375
$_SESSION['nonce'] = 'mock nonce';
375376

0 commit comments

Comments
 (0)