Skip to content

Commit aff7e3a

Browse files
committed
Prepare for 13.0.4 release
1 parent 118b87a commit aff7e3a

File tree

3 files changed

+3
-65
lines changed

3 files changed

+3
-65
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<properties>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16-
<java.version>8</java.version>
16+
<java.version>1.8</java.version>
1717
<kotlin.version>1.8.21</kotlin.version>
1818
<kotlin-coroutines.version>1.7.3</kotlin-coroutines.version>
1919
<jackson.version>2.15.3</jackson.version>
@@ -286,8 +286,8 @@
286286
<artifactId>maven-compiler-plugin</artifactId>
287287
<version>3.11.0</version>
288288
<configuration>
289-
<source>11</source>
290-
<target>11</target>
289+
<source>${java.version}</source>
290+
<target>${java.version}</target>
291291
</configuration>
292292
</plugin>
293293

src/main/kotlin/module-info.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

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

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package graphql.kickstart.tools
22

3-
import graphql.ExceptionWhileDataFetching
43
import graphql.GraphQL
54
import graphql.execution.AsyncExecutionStrategy
65
import graphql.schema.GraphQLSchema
@@ -14,43 +13,6 @@ import java.util.*
1413
*/
1514
class InaccessibleFieldResolverTest {
1615

17-
@Test
18-
fun `private field from closed module is not accessible`() {
19-
val schema: GraphQLSchema = SchemaParser.newParser()
20-
.schemaString(
21-
"""
22-
type Query {
23-
locale: Locale
24-
}
25-
26-
type Locale {
27-
country: String!
28-
languageTag: String!
29-
}
30-
""")
31-
.resolvers(Query())
32-
.build()
33-
.makeExecutableSchema()
34-
val gql: GraphQL = GraphQL.newGraphQL(schema)
35-
.queryExecutionStrategy(AsyncExecutionStrategy())
36-
.build()
37-
38-
val result = gql.execute(
39-
"""
40-
query {
41-
locale {
42-
country
43-
languageTag
44-
}
45-
}
46-
"""
47-
)
48-
49-
assertEquals(result.errors.size, 1)
50-
val exceptionWhileDataFetching = result.errors[0] as ExceptionWhileDataFetching
51-
assert(exceptionWhileDataFetching.exception is IllegalAccessException)
52-
}
53-
5416
@Test
5517
fun `private field from closed module is accessible through resolver`() {
5618
val schema: GraphQLSchema = SchemaParser.newParser()

0 commit comments

Comments
 (0)