notify doctors work, audit work, new product advisory sprints
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
using System.Net.Http.Headers;
|
||||
using System.Threading.Tasks;
|
||||
using Xunit;
|
||||
|
||||
namespace StellaOps.Scanner.WebService.Tests;
|
||||
|
||||
public sealed class ScannerApplicationFixture : IDisposable
|
||||
public sealed class ScannerApplicationFixture : IAsyncLifetime
|
||||
{
|
||||
private ScannerApplicationFactory? _authenticatedFactory;
|
||||
|
||||
@@ -22,10 +23,12 @@ public sealed class ScannerApplicationFixture : IDisposable
|
||||
return client;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
public Task InitializeAsync() => Factory.InitializeAsync();
|
||||
|
||||
public async Task DisposeAsync()
|
||||
{
|
||||
_authenticatedFactory?.Dispose();
|
||||
Factory.Dispose();
|
||||
_authenticatedFactory = null;
|
||||
await Factory.DisposeAsync();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user