Skip to content

Commit 6321a1a

Browse files
committed
Simplify single-line lambda
1 parent 049ed69 commit 6321a1a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/JsonApiDotNetCoreTests/IntegrationTests/Meta/TopLevelCountTests.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
8383
public async Task Renders_resource_count_for_empty_collection()
8484
{
8585
// Arrange
86-
await _testContext.RunOnDatabaseAsync(async dbContext =>
87-
{
88-
await dbContext.ClearTableAsync<SupportTicket>();
89-
});
86+
await _testContext.RunOnDatabaseAsync(async dbContext => await dbContext.ClearTableAsync<SupportTicket>());
9087

9188
const string route = "/supportTickets";
9289

0 commit comments

Comments
 (0)