Update test/component/Elsa.Workflows.ComponentTests/Scenarios/Activities/Http/HttpEndpointSecurityAndEdgeCasesTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
lukhipolito-nexxbiz 2025-12-03 11:18:06 +01:00 committed by GitHub
parent 4712782e6d
commit 46004b33c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,7 +68,7 @@ public class HttpEndpointSecurityAndEdgeCasesTests(App app) : AppComponentTest(a
var client = WorkflowServer.CreateHttpWorkflowClient();
// Create properly malformed multipart content by using StringContent with manually crafted headers
var malformedContent = new StringContent(
using var malformedContent = new StringContent(
"--boundary\r\nContent-Disposition: form-data; name=\"test\"\r\n\r\nvalue\r\n--boundary--",
Encoding.UTF8);