File tree Expand file tree Collapse file tree
src/ModelContextProtocol.AspNetCore/Authentication
tests/ModelContextProtocol.AspNetCore.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,8 +43,7 @@ public async Task<bool> HandleRequestAsync()
4343 return false ;
4444 }
4545
46- await HandleResourceMetadataRequestAsync ( ) ;
47- return true ;
46+ return await HandleResourceMetadataRequestAsync ( ) ;
4847 }
4948
5049 /// <summary>
Original file line number Diff line number Diff line change @@ -325,7 +325,7 @@ public async Task ResourceMetadataEndpoint_HandlesResponse_WhenHandleResponseCal
325325 // Since HandleResponse() was called, the handler should have taken responsibility
326326 // for generating the response, which in this case means an empty response
327327 Assert . Equal ( HttpStatusCode . OK , response . StatusCode ) ;
328-
328+
329329 // The response should be empty since the event handler called HandleResponse()
330330 // but didn't write any content to the response
331331 var content = await response . Content . ReadAsStringAsync ( TestContext . Current . CancellationToken ) ;
You can’t perform that action at this time.
0 commit comments