We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 1 |
Paths | 1 |
Total Lines | 30 |
Code Lines | 20 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function testObjectInheritance() |
||
22 | { |
||
23 | $this->assertArrayHasKey('Query', $this->config); |
||
24 | $this->assertEquals( |
||
25 | [ |
||
26 | 'type' => 'object', |
||
27 | InheritanceProcessor::INHERITS_KEY => ['QueryFoo', 'QueryBar', 'QueryHelloWord'], |
||
28 | 'decorator' => false, |
||
29 | 'config' => [ |
||
30 | 'fields' => [ |
||
31 | 'period' => [ |
||
32 | 'type' => 'Period', |
||
33 | 'args' => [], |
||
34 | ], |
||
35 | 'bar' => [ |
||
36 | 'type' => 'String', |
||
37 | 'args' => [], |
||
38 | ], |
||
39 | 'sayHello' => [ |
||
40 | 'type' => 'String', |
||
41 | 'args' => [], |
||
42 | ], |
||
43 | ], |
||
44 | 'interfaces' => ['QueryHelloWord'], |
||
45 | 'name' => 'Query', |
||
46 | ], |
||
47 | ], |
||
48 | $this->config['Query'] |
||
49 | ); |
||
50 | } |
||
51 | |||
79 |