| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function testGetProviderFilepath() |
||
| 31 | { |
||
| 32 | if( !class_exists( '\League\Flysystem\ZipArchive\ZipArchiveAdapter' ) ) { |
||
| 33 | $this->markTestSkipped( 'Install Flysystem ZipArchive adapter' ); |
||
| 34 | } |
||
| 35 | |||
| 36 | $object = new FlyZip( array( 'filepath' => '/tmp/flytest.zip' ) ); |
||
| 37 | $this->assertInstanceof( \Aimeos\Base\Filesystem\Iface::class, $object ); |
||
| 38 | |||
| 39 | $object->has( 'test' ); |
||
| 40 | } |
||
| 42 |