Skip to content

Commit 538b8c2

Browse files
committed
Use Java 8 compatible method in a test.
1 parent 1f12115 commit 538b8c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql-java-servlet/src/test/groovy/graphql/kickstart/servlet/BatchedQueryResponseWriterTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class BatchedQueryResponseWriterTest extends Specification {
4343
writer.write(requestMock, responseMock)
4444

4545
then:
46-
byteArrayOutputStream.toString(StandardCharsets.UTF_8) == expectedResponseContent
46+
byteArrayOutputStream.toString(StandardCharsets.UTF_8.name()) == expectedResponseContent
4747

4848
where:
4949
result || expectedContentLengh | expectedResponseContent

0 commit comments

Comments
 (0)