Update test/unit/Elsa.Activities.UnitTests/Http/HttpEndpointTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
lukhipolito-nexxbiz 2025-12-03 14:08:55 +01:00 committed by GitHub
parent eaac09dfd6
commit d77f73d1dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,19 +90,6 @@ public class HttpEndpointTests
Assert.True(context.WorkflowExecutionContext.Bookmarks.Any());
}
[Theory]
[InlineData("/api/users", "/api/users")]
[InlineData("api/users", "/api/users")]
[InlineData("/api/users/", "/api/users")]
[InlineData("api/users/", "/api/users")]
public void Should_Normalize_Routes_Correctly(string inputPath, string expectedPath)
{
// Act
var normalizedPath = inputPath.NormalizeRoute();
// Assert
Assert.Equal(expectedPath, normalizedPath);
}
private static HttpEndpoint CreateHttpEndpoint(
string path,