Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public function cannotAccessPageWhenProxyIsDisabled(): void |
||
25 | { |
||
26 | $targetUrl = 'http://web:8001/Tests/Fixtures/PageViewProxy/test.txt'; |
||
27 | $uHash = GeneralUtility::hmac($targetUrl, 'PageViewProxy'); |
||
28 | |||
29 | $response = $this->queryProxy([ |
||
30 | 'url' => $targetUrl, |
||
31 | 'uHash' => $uHash, |
||
32 | ]); |
||
33 | |||
34 | $this->assertEquals(404, $response->getStatusCode()); |
||
35 | } |
||
37 |