From 38056a00f6263c7c6cd8b4aad098923bec439e4b Mon Sep 17 00:00:00 2001 From: Priamo Germosen <6233424+pgermosen@users.noreply.github.com> Date: Mon, 14 Sep 2026 11:26:47 -0400 Subject: [PATCH] fix(apigateway): add missing authorizer arg to two VtlContext test calls #3560 added two new VtlTemplateEngineTest cases constructing VtlTemplateEngine.VtlContext with 10 arguments, one short of the record's 11 (missing the trailing authorizer map). Broke compilation on main since that merge. --- .../floci/services/apigateway/VtlTemplateEngineTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/io/github/hectorvent/floci/services/apigateway/VtlTemplateEngineTest.java b/src/test/java/io/github/hectorvent/floci/services/apigateway/VtlTemplateEngineTest.java index 6c7b92f9c1..5d98507c01 100644 --- a/src/test/java/io/github/hectorvent/floci/services/apigateway/VtlTemplateEngineTest.java +++ b/src/test/java/io/github/hectorvent/floci/services/apigateway/VtlTemplateEngineTest.java @@ -399,7 +399,7 @@ class VtlTemplateEngineTest { void inputParams_shorthand_preservesAnEmptyPathValue() { VtlTemplateEngine.VtlContext context = new VtlTemplateEngine.VtlContext( "{}", Map.of("id", "header-id"), Map.of("id", "query-id"), Map.of("id", ""), - "prod", "GET", "/items/{id}", "req-123", "000000000000", Map.of()); + "prod", "GET", "/items/{id}", "req-123", "000000000000", Map.of(), Map.of()); assertEquals("", engine.evaluate("$input.params('id')", context).body()); } @@ -409,7 +409,7 @@ class VtlTemplateEngineTest { VtlTemplateEngine.VtlContext context = new VtlTemplateEngine.VtlContext( "{}", Map.of("id", "header-id", "empty", "header-empty", "headerOnly", "header-value"), Map.of("id", "query-id", "empty", ""), null, - "prod", "GET", "/items", "req-123", "000000000000", Map.of()); + "prod", "GET", "/items", "req-123", "000000000000", Map.of(), Map.of()); assertEquals("query-id||header-value|", engine.evaluate( "$input.params('id')|$input.params('empty')|$input.params('headerOnly')|$input.params('missing')",