Skip to content

Commit 174b904

Browse files
committed
update test names
1 parent 97a5781 commit 174b904

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests-integration/Elastic.Assembler.IntegrationTests/AssembleFixture.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
using Microsoft.Extensions.DependencyInjection;
1111
using Microsoft.Extensions.Logging;
1212

13-
[assembly: CaptureConsole, AssemblyFixture(typeof(Elastic.Assembler.IntegrationTests.AssembleFixture))]
13+
[assembly: CaptureConsole, AssemblyFixture(typeof(Elastic.Assembler.IntegrationTests.DocumentationFixture))]
1414

1515
namespace Elastic.Assembler.IntegrationTests;
1616

1717

18-
public class AssembleFixture : IAsyncLifetime
18+
public class DocumentationFixture : IAsyncLifetime
1919
{
2020
public DistributedApplication DistributedApplication { get; private set; } = null!;
2121

@@ -50,10 +50,10 @@ public async ValueTask DisposeAsync()
5050
}
5151

5252

53-
public class DatabaseTestClass1(AssembleFixture fixture, ITestOutputHelper output) : IAsyncLifetime
53+
public class ServeStaticTests(DocumentationFixture fixture, ITestOutputHelper output) : IAsyncLifetime
5454
{
5555
[Fact]
56-
public async Task X()
56+
public async Task AssertRequestToRootReturnsData()
5757
{
5858
_ = await fixture.DistributedApplication.ResourceNotifications
5959
.WaitForResourceHealthyAsync("DocsBuilderServeStatic", cancellationToken: TestContext.Current.CancellationToken);
@@ -67,8 +67,8 @@ public async Task X()
6767
public ValueTask DisposeAsync()
6868
{
6969
GC.SuppressFinalize(this);
70-
// if (TestContext.Current.TestState?.Result is TestResult.Passed)
71-
// return default;
70+
if (TestContext.Current.TestState?.Result is TestResult.Passed)
71+
return default;
7272
foreach (var resource in fixture.InMemoryLogger.RecordedLogs)
7373
output.WriteLine(resource.Message);
7474
return default;

0 commit comments

Comments
 (0)