Skip to content

Commit 4e20b75

Browse files
committed
renamed test class
1 parent a23067a commit 4e20b75

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/test/groovy/graphql/servlet/AbstractGraphQLHttpServletSpec.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ class AbstractGraphQLHttpServletSpec extends Specification {
303303

304304
then:
305305
response.getStatus() == STATUS_BAD_REQUEST
306-
response.getErrorMessage() == TestBatchExecutionHandler.BATCH_ERROR_MESSAGE
306+
response.getErrorMessage() == TestBatchInputPreProcessor.BATCH_ERROR_MESSAGE
307307
}
308308

309309
def "Default Execution Result Handler does not limit number of queries"() {

src/test/groovy/graphql/servlet/TestBatchExecutionHandler.java renamed to src/test/groovy/graphql/servlet/TestBatchInputPreProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import javax.servlet.http.HttpServletRequest;
88
import javax.servlet.http.HttpServletResponse;
99

10-
public class TestBatchExecutionHandler implements BatchInputPreProcessor {
10+
public class TestBatchInputPreProcessor implements BatchInputPreProcessor {
1111

1212
public static String BATCH_ERROR_MESSAGE = "Batch limit exceeded";
1313

src/test/groovy/graphql/servlet/TestUtils.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class TestUtils {
8989
}
9090

9191
static def createBatchExecutionHandler() {
92-
new TestBatchExecutionHandler()
92+
new TestBatchInputPreProcessor()
9393
}
9494

9595
static def createGraphQlSchema(DataFetcher queryDataFetcher = { env -> env.arguments.arg },

0 commit comments

Comments
 (0)