Skip to content

Commit 303f853

Browse files
committed
refactor: fix async task where no need it
1 parent 0f6bb6e commit 303f853

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Voxel.MiddyNet.HttpJsonBodyParserMiddleware.Tests/HttpJsonBodyParserMiddlewareShould.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public async Task ProcessTheJsonRequest()
4040
}
4141

4242
[Fact]
43-
public async Task ErrorWhenJsonNotMapsToObject()
43+
public void ErrorWhenJsonNotMapsToObject()
4444
{
4545
var source = "Make it broken" + serializedExpectation;
4646
var request = new APIGatewayProxyRequest()
@@ -88,7 +88,7 @@ public async Task HandleABase64Body()
8888
}
8989

9090
[Fact]
91-
public async Task HandleInvalidBase64Body()
91+
public void HandleInvalidBase64Body()
9292
{
9393
var source = "Make it broken" + serializedExpectation;
9494
string base64Serialized = Convert.ToBase64String(Encoding.UTF8.GetBytes(source));

0 commit comments

Comments
 (0)