You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/JsonApiDotNetCoreTests/IntegrationTests/AtomicOperations/Transactions/AtomicTransactionConsistencyTests.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ public AtomicTransactionConsistencyTests(IntegrationTestContext<TestableStartup<
Copy file name to clipboardExpand all lines: test/TestBuildingBlocks/IntegrationTest.cs
+21-18Lines changed: 21 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -3,33 +3,47 @@
3
3
usingSystem.Text.Json;
4
4
usingFluentAssertions.Extensions;
5
5
usingJsonApiDotNetCore.Middleware;
6
-
usingXunit;
6
+
usingMicrosoft.Extensions.DependencyInjection;
7
7
8
8
namespaceTestBuildingBlocks;
9
9
10
10
/// <summary>
11
-
/// A base class for tests that conveniently enables executing HTTP requests against JSON:API endpoints. It throttles tests that are running in parallel
12
-
/// to avoid exceeding the maximum active database connections.
11
+
/// A base class for tests that conveniently enables executing HTTP requests against JSON:API endpoints.
13
12
/// </summary>
14
-
publicabstractclassIntegrationTest:IAsyncLifetime
13
+
/// <remarks>
14
+
/// Tests that use a database should call <see cref="AcquireDatabaseThrottleAsync" /> and <see cref="ReleaseDatabaseThrottle" /> to avoid exceeding the
0 commit comments