diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 1560cc0..62fcb54 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -52,5 +52,5 @@ jobs: - name: Build project run: dotnet build --no-restore - name: Test project - run: dotnet test + run: dotnet test --filter FullyQualifiedName!~PromptEvaluation diff --git a/src/AltGen.API.Tests/Integration/GenerateEndpointTests.cs b/src/AltGen.API.Tests/Integration/GenerateEndpointTests.cs index e65aac4..c78c603 100644 --- a/src/AltGen.API.Tests/Integration/GenerateEndpointTests.cs +++ b/src/AltGen.API.Tests/Integration/GenerateEndpointTests.cs @@ -25,7 +25,7 @@ public class GenerateEndpointTests : IntegrationTest public async Task GenerateEndpoint_WhenCalledWithRequiredParameters_ItShouldReturnOkWithAltText(MultipartFormDataContent content) { MockGeminiServiceHandler - .When(HttpMethod.Post, "https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent/?key=ProviderKey") + .When(HttpMethod.Post, "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent/?key=ProviderKey") .Respond( "application/json", /*lang=json,strict*/