diff --git a/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Path/CheckPathExistsEndpointTests.cs b/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Path/CheckPathExistsEndpointTests.cs index 9846e247..b0d24390 100644 --- a/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Path/CheckPathExistsEndpointTests.cs +++ b/tests/IntegrationTests/Lumina.Presentation.Api.IntegrationTests/Core/Endpoints/FileSystemManagement/Path/CheckPathExistsEndpointTests.cs @@ -99,9 +99,9 @@ public class CheckPathExistsEndpointTests : IClassFixture? problemDetails = JsonSerializer.Deserialize>(content, _jsonOptions); problemDetails.Should().NotBeNull(); problemDetails!["status"].GetInt32().Should().Be(StatusCodes.Status422UnprocessableEntity); - problemDetails["title"].GetString().Should().Be("Validation Error"); + problemDetails["title"].GetString().Should().Be("General.Validation"); problemDetails["instance"].GetString().Should().Be("/api/v1/path/check-path-exists"); - problemDetails["detail"].GetString().Should().Be("One or more validation errors occurred."); + problemDetails["detail"].GetString().Should().Be("OneOrMoreValidationErrorsOccurred"); problemDetails["type"].GetString().Should().Be("https://tools.ietf.org/html/rfc4918#section-11.2"); problemDetails["traceId"].GetString().Should().NotBeNullOrWhiteSpace();