Skip to content

[OpenAPI] Add endpoint for view event details #207 #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update fixtures namespace
  • Loading branch information
juhangil committed Aug 19, 2024
commit ec7de289d3733c47b0b7d658cd0b014596b74c7b
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using System.Text.Json;

using AzureOpenAIProxy.AppHost.Tests.Fixture;
using AzureOpenAIProxy.AppHost.Tests.Fixtures;

using FluentAssertions;

namespace AzureOpenAIProxy.AppHost.Tests.ApiApp.Endpoints;

public class AdminGetEventEventDetailsOpenApiTests(AspireHostFixture host) : IClassFixture<AspireHostFixture>
public class AdminGetEventEventDetailsOpenApiTests(AspireAppHostFixture host) : IClassFixture<AspireAppHostFixture>
{
[Fact]
public async Task Given_Resource_When_Invoked_Endpoint_Then_It_Should_Return_Path()
Expand Down
4 changes: 2 additions & 2 deletions test/AzureOpenAIProxy.AppHost.Tests/AppHostProgramTests.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using System.Net;

using AzureOpenAIProxy.AppHost.Tests.Fixture;
using AzureOpenAIProxy.AppHost.Tests.Fixtures;

using FluentAssertions;

namespace AzureOpenAIProxy.Tests;

public class AppHostProgramTests(AspireHostFixture host) : IClassFixture<AspireHostFixture>
public class AppHostProgramTests(AspireAppHostFixture host) : IClassFixture<AspireAppHostFixture>
{
[Theory]
[InlineData("apiapp", "/health", HttpStatusCode.OK)]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
namespace AzureOpenAIProxy.AppHost.Tests.Fixture;
namespace AzureOpenAIProxy.AppHost.Tests.Fixtures;

/// <summary>
/// This class instance is automatically created before run test.
/// To use, inherit IClassFixture<AspireHostFixture> and inject on constructor.
/// </summary>
public class AspireHostFixture : IAsyncLifetime
public class AspireAppHostFixture : IAsyncLifetime
{
public DistributedApplication? App { get; private set; }

Expand Down