| Conditions | 3 |
| Paths | 8 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function testGetProvider() |
||
| 17 | { |
||
| 18 | if( !class_exists( '\League\Flysystem\WebDAV\WebDAVAdapter' ) ) { |
||
| 19 | $this->markTestSkipped( 'Install Flysystem WebDAV adapter' ); |
||
| 20 | } |
||
| 21 | |||
| 22 | try |
||
| 23 | { |
||
| 24 | $object = new FlyWebdav( array( 'baseUri' => 'http://test.webdav.org/dav/' ) ); |
||
| 25 | $this->assertInstanceof( \Aimeos\Base\Filesystem\Iface::class, $object ); |
||
| 26 | |||
| 27 | $object->has( 'test' ); |
||
| 28 | } |
||
| 29 | catch( \Exception $e ) |
||
| 30 | { |
||
| 31 | $this->markTestSkipped( $e->getMessage() ); |
||
| 32 | } |
||
| 49 |