Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed SingleQueryResponseWriterTest.
  • Loading branch information
donbeave committed Apr 23, 2020
commit b66190ea4d892d2465499ea4215e887faa1d0f8a
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class SingleQueryResponseWriterTest extends Specification {
1 * responseMock.getOutputStream().write(expectedResponseContent.getBytes(StandardCharsets.UTF_8))

expect:
def writer = new SingleQueryResponseWriter(new ExecutionResultImpl(result, []), graphQLObjectMapperMock)
writer.write(requestMock, responseMock)
def writer = new SingleQueryResponseWriter(new ExecutionResultImpl(result, []), graphQLObjectMapperMock, null)
writer.write(requestMock, responseMock, null)

where:
result || expectedContentLenght | expectedResponseContent
Expand Down