Skip to content

Commit 4a5ac27

Browse files
committed
deleted duplicated tests
1 parent 4767873 commit 4a5ac27

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/test/java/graphql/annotations/connection/GraphQLConnectionTest.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -149,22 +149,6 @@ public void methodList() {
149149

150150
}
151151

152-
@Test
153-
public void customConnection() {
154-
GraphQLObjectType object = GraphQLAnnotations.object(TestCustomConnection.class);
155-
GraphQLSchema schema = newSchema().query(object).build();
156-
157-
GraphQL graphQL = GraphQL.newGraphQL(schema).build();
158-
ExecutionResult result = graphQL.execute("{ objs(first: 1) { edges { cursor node { id, val } } } }",
159-
new TestCustomConnection(Arrays.asList(new Obj("1", "test"), new Obj("2", "hello"), new Obj("3", "world"))));
160-
161-
assertTrue(result.getErrors().isEmpty());
162-
Map<String, Object> data = result.getData();
163-
Map<String, Object> objs = (Map<String, Object>) (data.get("objs"));
164-
List edges = (List) objs.get("edges");
165-
assertEquals(edges.size(), 0);
166-
}
167-
168152
@Test
169153
public void customRelayMethodList() {
170154
try {

0 commit comments

Comments
 (0)