| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | protected function setUp() : void |
||
| 19 | { |
||
| 20 | $view = new \Aimeos\Base\View\Standard(); |
||
| 21 | $files = array( 'test' => array( 'file' => array( |
||
| 22 | 'name' => 'test.txt', |
||
| 23 | 'type' => 'text/plain', |
||
| 24 | 'tmp_name' => tempnam( sys_get_temp_dir(), 'ai-symfony_' ), |
||
| 25 | 'error' => UPLOAD_ERR_OK, |
||
| 26 | 'size' => 123 |
||
| 27 | ) ) ); |
||
| 28 | $param = array( 'HTTP_HOST' => 'localhost', 'REMOTE_ADDR' => '127.0.0.1' ); |
||
| 29 | $request = new \Symfony\Component\HttpFoundation\Request( [], [], [], [], $files, $param, 'Content' ); |
||
| 30 | $this->object = new \Aimeos\Base\View\Helper\Request\Symfony( $view, $request ); |
||
| 31 | } |
||
| 51 |