Skip to content

Commit 0477968

Browse files
committed
fix test crash
1 parent 2fcaac8 commit 0477968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class LambdaAppSecHandlerTest extends DDCoreSpecification {
111111
when:
112112
LambdaAppSecHandler.processRequestStart(event)
113113
event.reset()
114-
def content = new String(event.readAllBytes(), StandardCharsets.UTF_8)
114+
def content = new String(event.bytes, StandardCharsets.UTF_8)
115115

116116
then:
117117
content == jsonData

0 commit comments

Comments
 (0)