Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | public function testSave() |
||
26 | { |
||
27 | $ds = DIRECTORY_SEPARATOR; |
||
28 | $content = file_get_contents( dirname( __DIR__ ) . $ds . '_testfiles' . $ds . 'application.txt' ); |
||
29 | |||
30 | $media = new \Aimeos\MW\Media\Application\Standard( $content, 'application/octet-stream', array() ); |
||
31 | |||
32 | $this->assertEquals( 'some text', $media->save() ); |
||
33 | } |
||
34 | |||
49 |