| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function testInternalRequests() { |
||
| 31 | // TODO: Check cache metadata. |
||
| 32 | $metadata = $this->defaultCacheMetaData(); |
||
| 33 | |||
| 34 | $this->assertResults($this->getQueryFromFile('internal_requests.gql'), [], [ |
||
| 35 | 'ok' => [ |
||
| 36 | 'request' => [ |
||
| 37 | 'code' => 200, |
||
| 38 | 'content' => '<p>Test</p>', |
||
| 39 | ], |
||
| 40 | ], |
||
| 41 | 'redirect' => [ |
||
| 42 | 'request' => [ |
||
| 43 | 'code' => 302, |
||
| 44 | 'location' => '/graphql-request/test', |
||
| 45 | ], |
||
| 46 | ], |
||
| 47 | ], $metadata); |
||
| 48 | } |
||
| 49 | |||
| 51 |