🔧 Expect 201 Created from Passport dynamic client registration (RFC 7591)

This commit is contained in:
HolgerHatGarKeineNode
2026-06-26 18:34:35 +02:00
parent 02b4518170
commit 219f5f083b
+1 -1
View File
@@ -43,7 +43,7 @@ it('lets a permitted client register dynamically', function () {
'client_name' => 'Claude', 'client_name' => 'Claude',
'redirect_uris' => ['https://claude.ai/api/mcp/auth_callback'], 'redirect_uris' => ['https://claude.ai/api/mcp/auth_callback'],
]) ])
->assertOk() ->assertCreated()
->assertJsonStructure(['client_id', 'redirect_uris', 'scope']) ->assertJsonStructure(['client_id', 'redirect_uris', 'scope'])
->assertJsonPath('scope', 'mcp:use'); ->assertJsonPath('scope', 'mcp:use');
}); });