Skip to content

Commit

Permalink
Merge pull request #62 from deveel/main
Browse files Browse the repository at this point in the history
Fixing a mocked test
  • Loading branch information
tsutomi authored Mar 29, 2024
2 parents bae2f7f + adc1160 commit 772d0ef
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,8 @@ private IServiceProvider ConfigureServices(ITestOutputHelper outputHelper) {
return new HttpResponseMessage(valid ? HttpStatusCode.OK : HttpStatusCode.Unauthorized);
});

mockHandler.Fallback.Respond(request => {
return new HttpResponseMessage(HttpStatusCode.NotFound);
});
mockHandler.Fallback.Respond(request => new HttpResponseMessage(HttpStatusCode.NotFound));


var services = new ServiceCollection()
.AddLogging(logging => logging.AddXUnit(outputHelper, options => options.Filter = (cat, level) => true)
Expand Down

0 comments on commit 772d0ef

Please sign in to comment.