| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | public function testGetProvider() |
||
| 9 | { |
||
| 10 | if( !class_exists( '\League\Flysystem\Replicate\ReplicateAdapter' ) ) { |
||
| 11 | $this->markTestSkipped( 'Install Flysystem Replicate adapter' ); |
||
| 12 | } |
||
| 13 | |||
| 14 | $config = array( |
||
| 15 | 'adapter' => 'Replicate', |
||
| 16 | 'source' => array( 'adapter' => 'FlyMemory' ), |
||
| 17 | 'replica' => array( 'adapter' => 'FlyMemory' ), |
||
| 18 | ); |
||
| 19 | $object = new FlyReplicate( $config ); |
||
| 20 | $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
||
| 21 | |||
| 22 | $object->has( 'test' ); |
||
| 23 | } |
||
| 24 | |||
| 52 |