Cleanup code

This commit is contained in:
jvyden 2021-11-04 14:28:50 -04:00
commit 8e193c079f
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
8 changed files with 58 additions and 42 deletions

View file

@ -12,7 +12,7 @@ namespace LBPUnion.ProjectLighthouse.Tests
[Fact]
public async Task ShouldReturnErrorOnNoPostData()
{
HttpResponseMessage response = await this.Client.PostAsync($"/LITTLEBIGPLANETPS3_XML/login", null!);
HttpResponseMessage response = await this.Client.PostAsync("/LITTLEBIGPLANETPS3_XML/login", null!);
Assert.False(response.IsSuccessStatusCode);
#if NET6_0_OR_GREATER
Assert.True(response.StatusCode == HttpStatusCode.BadRequest);