We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 48-67 (lines=20) @@ | ||
45 | ); |
|
46 | } |
|
47 | ||
48 | public function testReturnTheSameClientMutationId() |
|
49 | { |
|
50 | $query = <<<'EOF' |
|
51 | mutation M { |
|
52 | simpleMutation(input: {clientMutationId: "abc"}) { |
|
53 | result |
|
54 | clientMutationId |
|
55 | } |
|
56 | } |
|
57 | EOF; |
|
58 | ||
59 | $expectedData = [ |
|
60 | 'simpleMutation' => [ |
|
61 | 'result' => 1, |
|
62 | 'clientMutationId' => 'abc', |
|
63 | ], |
|
64 | ]; |
|
65 | ||
66 | $this->assertGraphQL($query, $expectedData); |
|
67 | } |
|
68 | ||
69 | public function testSupportsThunksAsInputAndOutputFields() |
|
70 | { |
|
@@ 69-87 (lines=19) @@ | ||
66 | $this->assertGraphQL($query, $expectedData); |
|
67 | } |
|
68 | ||
69 | public function testSupportsThunksAsInputAndOutputFields() |
|
70 | { |
|
71 | $query = <<<'EOF' |
|
72 | mutation M { |
|
73 | simpleMutationWithThunkFields(input: {inputData: 1234, clientMutationId: "abc"}) { |
|
74 | result |
|
75 | clientMutationId |
|
76 | } |
|
77 | } |
|
78 | EOF; |
|
79 | $expectedData = [ |
|
80 | 'simpleMutationWithThunkFields' => [ |
|
81 | 'result' => 1234, |
|
82 | 'clientMutationId' => 'abc', |
|
83 | ], |
|
84 | ]; |
|
85 | ||
86 | $this->assertGraphQL($query, $expectedData); |
|
87 | } |
|
88 | ||
89 | public function testContainsCorrectInput() |
|
90 | { |