Skip to content

Commit

Permalink
Merge pull request #245 from Umplify/243-minor-bug-the-generic-must-b…
Browse files Browse the repository at this point in the history
…e-removed-from-the-async-scope-getter

243 minor bug the generic must be removed from the async scope getter
  • Loading branch information
Arash-Sabet authored Feb 29, 2024
2 parents da2e0ca + 619514d commit 381c343
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Abstracts/TestBedFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public IServiceProvider GetServiceProvider(ITestOutputHelper testOutputHelper)
return scope.ServiceProvider.GetService<T>();
}

public AsyncServiceScope GetAsyncScope<T>(ITestOutputHelper testOutputHelper)
public AsyncServiceScope GetAsyncScope(ITestOutputHelper testOutputHelper)
{
var serviceProvider = GetServiceProvider(testOutputHelper);
return serviceProvider.CreateAsyncScope();
Expand Down Expand Up @@ -114,7 +114,7 @@ public async ValueTask DisposeAsync()
if (!_disposedAsync)
{
await DisposeAsyncCore();
GC.SuppressFinalize(this);
Dispose();
_disposedAsync = true;
}
}
Expand Down

0 comments on commit 381c343

Please sign in to comment.