Skip to content

Commit 240b5ab

Browse files
committed
remove unused var
1 parent ed67b0b commit 240b5ab

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

dd-trace-core/src/test/groovy/datadog/trace/lambda/LambdaAppSecHandlerTest.groovy

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,14 +1306,6 @@ class LambdaAppSecHandlerTest extends DDCoreSpecification {
13061306
}
13071307
} : null
13081308

1309-
def mockQueryParamsCallback = callbacks.onQueryParams ? Mock(BiFunction) {
1310-
apply(_ as RequestContext, _ as Map) >> {
1311-
RequestContext ctx, Map params ->
1312-
callbacks.onQueryParams(params)
1313-
return new Flow.ResultFlow<>(null)
1314-
}
1315-
} : null
1316-
13171309
def mockBodyCallback = callbacks.onBody ? Mock(BiFunction) {
13181310
apply(_ as RequestContext, _ as Object) >> {
13191311
RequestContext ctx, Object body ->

0 commit comments

Comments
 (0)