Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 8 |
Ratio | 100 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | View Code Duplication | public function test302Redirect() |
|
35 | { |
||
36 | $stream = Psr7\stream_for('{"data" : "test"}'); |
||
37 | $response = new Response(302, ['Location' => 'https://comododecodecsr.tk'], $stream); |
||
38 | |||
39 | $test = $this->ComodoDecodeCSR->checkDVC($response); |
||
40 | $this->assertFalse($test, "Failed to check 302 redirect"); |
||
41 | } |
||
42 | } |
||
43 |