Skip to content

Commit 4200572

Browse files
committed
Make test schema file names consistent
1 parent e55fd82 commit 4200572

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/test/groovy/graphql/kickstart/tools/SchemaParserSpec.groovy

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class SchemaParserSpec extends Specification {
3333

3434
def "builder doesn't throw FileNotFound exception when file is present"() {
3535
when:
36-
SchemaParser.newParser().file("test.graphqls")
36+
SchemaParser.newParser().file("Test.graphqls")
3737
.resolvers(new GraphQLQueryResolver() {
3838
String getId() { "1" }
3939
})
@@ -286,7 +286,7 @@ class SchemaParserSpec extends Specification {
286286
def "parser should include source location for field definition when loaded from single classpath file"() {
287287
when:
288288
GraphQLSchema schema = SchemaParser.newParser()
289-
.file("test.graphqls")
289+
.file("Test.graphqls")
290290
.resolvers(new QueryWithIdResolver())
291291
.build()
292292
.makeExecutableSchema()
@@ -298,7 +298,7 @@ class SchemaParserSpec extends Specification {
298298
sourceLocation != null
299299
sourceLocation.line == 2
300300
sourceLocation.column == 5
301-
sourceLocation.sourceName == "test.graphqls"
301+
sourceLocation.sourceName == "Test.graphqls"
302302
}
303303

304304
def "support enum types if only used as input type"() {

src/test/kotlin/graphql/kickstart/tools/DeepGenericsHierarchyTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class PlaceTest {
99
@Test
1010
fun shouldHandleGenericsDeepHierarchy() {
1111
val schema = SchemaParser.newParser()
12-
.file("place.graphqls")
12+
.file("Place.graphqls")
1313
.resolvers(PlaceQuery())
1414
.build().makeExecutableSchema()
1515

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)