Skip to content

Commit e2bed96

Browse files
committed
Removed controller.
Signed-off-by: André Silva <[email protected]>
1 parent 20f7784 commit e2bed96

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

test/OpenFeature.Tests/ClearOpenFeatureInstanceFixture.cs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,23 @@
11
using System.Threading.Tasks;
2-
using Xunit;
32
using System.Threading;
43
using Xunit;
54

65
namespace OpenFeature.Tests;
76

87
public class ClearOpenFeatureInstanceFixture : IAsyncLifetime
98
{
10-
protected readonly CancellationToken TestCancellationToken;
9+
protected CancellationToken TestCancellationToken;
1110

12-
protected ClearOpenFeatureInstanceFixture()
11+
public ValueTask InitializeAsync()
1312
{
1413
this.TestCancellationToken = TestContext.Current.CancellationToken;
15-
}
16-
17-
public Task InitializeAsync()
18-
{
1914
Api.ResetApi();
2015

21-
return Task.CompletedTask;
16+
return ValueTask.CompletedTask;
2217
}
2318

2419
// Make sure the singleton is cleared between tests
25-
public async Task DisposeAsync()
20+
public async ValueTask DisposeAsync()
2621
{
2722
await Api.Instance.ShutdownAsync().ConfigureAwait(false);
2823
}

0 commit comments

Comments
 (0)