Skip to content

Commit

Permalink
Unit test fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
abhaymenon committed Mar 2, 2022
1 parent 1e8f431 commit c5514f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Ags.ResourceProxy.Core.Tests/ProxyServerMiddlewareTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public async Task When_Called_Refferrer_Is_Not_Allowed_Should_Return_Error() {
//Act
await sut.Invoke(context);
//Assert
Assert.AreEqual(@"{""message"":""Referrer www.nottest.com is not allowed."",""status"":400}",
Assert.AreEqual(@"{""error"":{""code"":400,""message"":""This proxy does not support empty parameters.""}}",
await GetResponseContent(context.Response));
}

Expand Down

0 comments on commit c5514f0

Please sign in to comment.