| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function testQueryDateTimeTypeWithDateParameter() |
||
| 17 | { |
||
| 18 | $schema = new Issue99Schema(); |
||
| 19 | $processor = new Processor($schema); |
||
| 20 | $processor->processPayload(sprintf("{ items{id, custom(argX: {x: \"%s\"}){ value } } }", self::BUG_NOT_EXISTS_VALUE)); |
||
| 21 | $res = $processor->getResponseData(); |
||
| 22 | |||
| 23 | self::assertTrue(isset($res['data']['items'])); |
||
| 24 | |||
| 25 | foreach($res['data']['items'] as $item) { |
||
| 26 | self::assertTrue(isset($item['custom']['value'])); |
||
| 27 | self::assertEquals(self::BUG_NOT_EXISTS_VALUE, $item['custom']['value']); |
||
| 28 | } |
||
| 29 | } |
||
| 30 | } |