File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Tests/GraphitiTests/DirectiveTests Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class DirectiveTests: XCTestCase {
11
11
try ? self . group. syncShutdownGracefully ( )
12
12
}
13
13
14
- func testSkip( ) async throws {
14
+ func testSkip( ) throws {
15
15
let query = """
16
16
query FetchHeroNameWithSkip($skipName: Boolean!) {
17
17
hero {
@@ -25,12 +25,12 @@ class DirectiveTests: XCTestCase {
25
25
" skipName " : true ,
26
26
]
27
27
28
- let response = try await api. execute (
28
+ let response = try api. execute (
29
29
request: query,
30
30
context: StarWarsContext ( ) ,
31
31
on: group,
32
32
variables: input
33
- )
33
+ ) . wait ( )
34
34
35
35
let expected = GraphQLResult (
36
36
data: [
@@ -43,7 +43,7 @@ class DirectiveTests: XCTestCase {
43
43
XCTAssertEqual ( response, expected)
44
44
}
45
45
46
- func testInclude( ) async throws {
46
+ func testInclude( ) throws {
47
47
let query = """
48
48
query FetchHeroNameWithSkip($includeName: Boolean!) {
49
49
hero {
@@ -57,12 +57,12 @@ class DirectiveTests: XCTestCase {
57
57
" includeName " : false ,
58
58
]
59
59
60
- let response = try await api. execute (
60
+ let response = try api. execute (
61
61
request: query,
62
62
context: StarWarsContext ( ) ,
63
63
on: group,
64
64
variables: input
65
- )
65
+ ) . wait ( )
66
66
67
67
let expected = GraphQLResult (
68
68
data: [
You can’t perform that action at this time.
0 commit comments