@@ -7,17 +7,17 @@ |
||
| 7 | 7 | { |
| 8 | 8 | protected function setUp() |
| 9 | 9 | { |
| 10 | - if( !interface_exists( '\\League\\Flysystem\\FilesystemInterface' ) ) { |
|
| 11 | - $this->markTestSkipped( 'Install Flysystem first' ); |
|
| 10 | + if (!interface_exists('\\League\\Flysystem\\FilesystemInterface')) { |
|
| 11 | + $this->markTestSkipped('Install Flysystem first'); |
|
| 12 | 12 | } |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | public function testGetProvider() |
| 17 | 17 | { |
| 18 | - $object = new FlyNone( array() ); |
|
| 19 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 18 | + $object = new FlyNone(array()); |
|
| 19 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 20 | 20 | |
| 21 | - $object->has( 'test' ); |
|
| 21 | + $object->has('test'); |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -7,35 +7,35 @@ |
||
| 7 | 7 | { |
| 8 | 8 | protected function setUp() |
| 9 | 9 | { |
| 10 | - if( !interface_exists( '\\League\\Flysystem\\FilesystemInterface' ) ) { |
|
| 11 | - $this->markTestSkipped( 'Install Flysystem first' ); |
|
| 10 | + if (!interface_exists('\\League\\Flysystem\\FilesystemInterface')) { |
|
| 11 | + $this->markTestSkipped('Install Flysystem first'); |
|
| 12 | 12 | } |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | public function testGetProvider() |
| 17 | 17 | { |
| 18 | - if( !class_exists( '\League\Flysystem\ZipArchive\ZipArchiveAdapter' ) ) { |
|
| 19 | - $this->markTestSkipped( 'Install Flysystem ZipArchive adapter' ); |
|
| 18 | + if (!class_exists('\League\Flysystem\ZipArchive\ZipArchiveAdapter')) { |
|
| 19 | + $this->markTestSkipped('Install Flysystem ZipArchive adapter'); |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | - $object = new FlyZip( array() ); |
|
| 23 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 22 | + $object = new FlyZip(array()); |
|
| 23 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 24 | 24 | |
| 25 | - $this->setExpectedException( '\Aimeos\MW\Filesystem\Exception' ); |
|
| 26 | - $object->has( 'test' ); |
|
| 25 | + $this->setExpectedException('\Aimeos\MW\Filesystem\Exception'); |
|
| 26 | + $object->has('test'); |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | |
| 30 | 30 | public function testGetProviderFilepath() |
| 31 | 31 | { |
| 32 | - if( !class_exists( '\League\Flysystem\ZipArchive\ZipArchiveAdapter' ) ) { |
|
| 33 | - $this->markTestSkipped( 'Install Flysystem ZipArchive adapter' ); |
|
| 32 | + if (!class_exists('\League\Flysystem\ZipArchive\ZipArchiveAdapter')) { |
|
| 33 | + $this->markTestSkipped('Install Flysystem ZipArchive adapter'); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - $object = new FlyZip( array( 'filepath' => '/tmp/flytest.zip' ) ); |
|
| 37 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 36 | + $object = new FlyZip(array('filepath' => '/tmp/flytest.zip')); |
|
| 37 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 38 | 38 | |
| 39 | - $object->has( 'test' ); |
|
| 39 | + $object->has('test'); |
|
| 40 | 40 | } |
| 41 | 41 | } |
@@ -7,19 +7,19 @@ discard block |
||
| 7 | 7 | { |
| 8 | 8 | protected function setUp() |
| 9 | 9 | { |
| 10 | - if( !interface_exists( '\\League\\Flysystem\\FilesystemInterface' ) ) { |
|
| 11 | - $this->markTestSkipped( 'Install Flysystem first' ); |
|
| 10 | + if (!interface_exists('\\League\\Flysystem\\FilesystemInterface')) { |
|
| 11 | + $this->markTestSkipped('Install Flysystem first'); |
|
| 12 | 12 | } |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | public function testGetProvider() |
| 17 | 17 | { |
| 18 | - $object = new FlyCopy( array() ); |
|
| 19 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 18 | + $object = new FlyCopy(array()); |
|
| 19 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 20 | 20 | |
| 21 | - $this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' ); |
|
| 22 | - $object->has( 'test' ); |
|
| 21 | + $this->setExpectedException('Aimeos\MW\Filesystem\Exception'); |
|
| 22 | + $object->has('test'); |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | |
@@ -28,11 +28,11 @@ discard block |
||
| 28 | 28 | $config = array( |
| 29 | 29 | 'consumerkey' => 'test' |
| 30 | 30 | ); |
| 31 | - $object = new FlyCopy( $config ); |
|
| 32 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 31 | + $object = new FlyCopy($config); |
|
| 32 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 33 | 33 | |
| 34 | - $this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' ); |
|
| 35 | - $object->has( 'test' ); |
|
| 34 | + $this->setExpectedException('Aimeos\MW\Filesystem\Exception'); |
|
| 35 | + $object->has('test'); |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | |
@@ -42,11 +42,11 @@ discard block |
||
| 42 | 42 | 'consumerkey' => 'test', |
| 43 | 43 | 'consumersecret' => 'test', |
| 44 | 44 | ); |
| 45 | - $object = new FlyCopy( $config ); |
|
| 46 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 45 | + $object = new FlyCopy($config); |
|
| 46 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 47 | 47 | |
| 48 | - $this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' ); |
|
| 49 | - $object->has( 'test' ); |
|
| 48 | + $this->setExpectedException('Aimeos\MW\Filesystem\Exception'); |
|
| 49 | + $object->has('test'); |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | |
@@ -57,18 +57,18 @@ discard block |
||
| 57 | 57 | 'consumersecret' => 'test', |
| 58 | 58 | 'accesstoken' => 'test', |
| 59 | 59 | ); |
| 60 | - $object = new FlyCopy( $config ); |
|
| 61 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 60 | + $object = new FlyCopy($config); |
|
| 61 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 62 | 62 | |
| 63 | - $this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' ); |
|
| 64 | - $object->has( 'test' ); |
|
| 63 | + $this->setExpectedException('Aimeos\MW\Filesystem\Exception'); |
|
| 64 | + $object->has('test'); |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | |
| 68 | 68 | public function testGetProviderAccess() |
| 69 | 69 | { |
| 70 | - if( !class_exists( '\League\Flysystem\Copy\CopyAdapter' ) ) { |
|
| 71 | - $this->markTestSkipped( 'Install Flysystem Copy adapter' ); |
|
| 70 | + if (!class_exists('\League\Flysystem\Copy\CopyAdapter')) { |
|
| 71 | + $this->markTestSkipped('Install Flysystem Copy adapter'); |
|
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | $config = array( |
@@ -77,10 +77,10 @@ discard block |
||
| 77 | 77 | 'accesstoken' => 'test', |
| 78 | 78 | 'tokensecret' => 'test', |
| 79 | 79 | ); |
| 80 | - $object = new FlyCopy( $config ); |
|
| 81 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 80 | + $object = new FlyCopy($config); |
|
| 81 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 82 | 82 | |
| 83 | - $this->setExpectedException( 'Exception' ); |
|
| 84 | - $object->has( 'test' ); |
|
| 83 | + $this->setExpectedException('Exception'); |
|
| 84 | + $object->has('test'); |
|
| 85 | 85 | } |
| 86 | 86 | } |
@@ -7,39 +7,39 @@ |
||
| 7 | 7 | { |
| 8 | 8 | protected function setUp() |
| 9 | 9 | { |
| 10 | - if( !interface_exists( '\\League\\Flysystem\\FilesystemInterface' ) ) { |
|
| 11 | - $this->markTestSkipped( 'Install Flysystem first' ); |
|
| 10 | + if (!interface_exists('\\League\\Flysystem\\FilesystemInterface')) { |
|
| 11 | + $this->markTestSkipped('Install Flysystem first'); |
|
| 12 | 12 | } |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | public function testGetProvider() |
| 17 | 17 | { |
| 18 | - $object = new FlyGridfs( array() ); |
|
| 19 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 18 | + $object = new FlyGridfs(array()); |
|
| 19 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 20 | 20 | |
| 21 | - $this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' ); |
|
| 22 | - $object->has( 'test' ); |
|
| 21 | + $this->setExpectedException('Aimeos\MW\Filesystem\Exception'); |
|
| 22 | + $object->has('test'); |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | |
| 26 | 26 | public function testGetProviderToken() |
| 27 | 27 | { |
| 28 | - if( !class_exists( '\League\Flysystem\GridFS\GridFSAdapter' ) ) { |
|
| 29 | - $this->markTestSkipped( 'Install Flysystem GridFS adapter' ); |
|
| 28 | + if (!class_exists('\League\Flysystem\GridFS\GridFSAdapter')) { |
|
| 29 | + $this->markTestSkipped('Install Flysystem GridFS adapter'); |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | - if( !class_exists( '\MongoClient' ) ) { |
|
| 33 | - $this->markTestSkipped( 'Install Mongo client extension' ); |
|
| 32 | + if (!class_exists('\MongoClient')) { |
|
| 33 | + $this->markTestSkipped('Install Mongo client extension'); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | $config = array( |
| 37 | 37 | 'dbname' => 'test', |
| 38 | 38 | ); |
| 39 | - $object = new FlyGridfs( $config ); |
|
| 40 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 39 | + $object = new FlyGridfs($config); |
|
| 40 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 41 | 41 | |
| 42 | - $this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' ); |
|
| 43 | - $object->has( 'test' ); |
|
| 42 | + $this->setExpectedException('Aimeos\MW\Filesystem\Exception'); |
|
| 43 | + $object->has('test'); |
|
| 44 | 44 | } |
| 45 | 45 | } |
@@ -7,21 +7,21 @@ |
||
| 7 | 7 | { |
| 8 | 8 | protected function setUp() |
| 9 | 9 | { |
| 10 | - if( !interface_exists( '\\League\\Flysystem\\FilesystemInterface' ) ) { |
|
| 11 | - $this->markTestSkipped( 'Install Flysystem first' ); |
|
| 10 | + if (!interface_exists('\\League\\Flysystem\\FilesystemInterface')) { |
|
| 11 | + $this->markTestSkipped('Install Flysystem first'); |
|
| 12 | 12 | } |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | public function testGetProvider() |
| 17 | 17 | { |
| 18 | - if( !class_exists( '\League\Flysystem\Memory\MemoryAdapter' ) ) { |
|
| 19 | - $this->markTestSkipped( 'Install Flysystem memory adapter' ); |
|
| 18 | + if (!class_exists('\League\Flysystem\Memory\MemoryAdapter')) { |
|
| 19 | + $this->markTestSkipped('Install Flysystem memory adapter'); |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | - $object = new FlyMemory( array() ); |
|
| 23 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 22 | + $object = new FlyMemory(array()); |
|
| 23 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 24 | 24 | |
| 25 | - $object->has( 'test' ); |
|
| 25 | + $object->has('test'); |
|
| 26 | 26 | } |
| 27 | 27 | } |
@@ -7,19 +7,19 @@ discard block |
||
| 7 | 7 | { |
| 8 | 8 | protected function setUp() |
| 9 | 9 | { |
| 10 | - if( !interface_exists( '\\League\\Flysystem\\FilesystemInterface' ) ) { |
|
| 11 | - $this->markTestSkipped( 'Install Flysystem first' ); |
|
| 10 | + if (!interface_exists('\\League\\Flysystem\\FilesystemInterface')) { |
|
| 11 | + $this->markTestSkipped('Install Flysystem first'); |
|
| 12 | 12 | } |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | public function testGetProvider() |
| 17 | 17 | { |
| 18 | - $object = new FlyDropbox( array() ); |
|
| 19 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 18 | + $object = new FlyDropbox(array()); |
|
| 19 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 20 | 20 | |
| 21 | - $this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' ); |
|
| 22 | - $object->has( 'test' ); |
|
| 21 | + $this->setExpectedException('Aimeos\MW\Filesystem\Exception'); |
|
| 22 | + $object->has('test'); |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | |
@@ -28,28 +28,28 @@ discard block |
||
| 28 | 28 | $config = array( |
| 29 | 29 | 'accesstoken' => 'test', |
| 30 | 30 | ); |
| 31 | - $object = new FlyDropbox( $config ); |
|
| 32 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 31 | + $object = new FlyDropbox($config); |
|
| 32 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 33 | 33 | |
| 34 | - $this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' ); |
|
| 35 | - $object->has( 'test' ); |
|
| 34 | + $this->setExpectedException('Aimeos\MW\Filesystem\Exception'); |
|
| 35 | + $object->has('test'); |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | |
| 39 | 39 | public function testGetProviderAccess() |
| 40 | 40 | { |
| 41 | - if( !class_exists( '\League\Flysystem\Dropbox\DropboxAdapter' ) ) { |
|
| 42 | - $this->markTestSkipped( 'Install Flysystem Dropbox adapter' ); |
|
| 41 | + if (!class_exists('\League\Flysystem\Dropbox\DropboxAdapter')) { |
|
| 42 | + $this->markTestSkipped('Install Flysystem Dropbox adapter'); |
|
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | $config = array( |
| 46 | 46 | 'accesstoken' => 'test', |
| 47 | 47 | 'appsecret' => 'test', |
| 48 | 48 | ); |
| 49 | - $object = new FlyDropbox( $config ); |
|
| 50 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 49 | + $object = new FlyDropbox($config); |
|
| 50 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 51 | 51 | |
| 52 | - $this->setExpectedException( 'Exception' ); |
|
| 53 | - $object->has( 'test' ); |
|
| 52 | + $this->setExpectedException('Exception'); |
|
| 53 | + $object->has('test'); |
|
| 54 | 54 | } |
| 55 | 55 | } |
@@ -7,26 +7,26 @@ discard block |
||
| 7 | 7 | { |
| 8 | 8 | protected function setUp() |
| 9 | 9 | { |
| 10 | - if( !interface_exists( '\\League\\Flysystem\\FilesystemInterface' ) ) { |
|
| 11 | - $this->markTestSkipped( 'Install Flysystem first' ); |
|
| 10 | + if (!interface_exists('\\League\\Flysystem\\FilesystemInterface')) { |
|
| 11 | + $this->markTestSkipped('Install Flysystem first'); |
|
| 12 | 12 | } |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | public function testGetProvider() |
| 17 | 17 | { |
| 18 | - $object = new FlyPhpcr( array() ); |
|
| 19 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 18 | + $object = new FlyPhpcr(array()); |
|
| 19 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 20 | 20 | |
| 21 | - $this->setExpectedException( '\Aimeos\MW\Filesystem\Exception' ); |
|
| 22 | - $object->has( 'test' ); |
|
| 21 | + $this->setExpectedException('\Aimeos\MW\Filesystem\Exception'); |
|
| 22 | + $object->has('test'); |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | |
| 26 | 26 | public function testGetProviderRoot() |
| 27 | 27 | { |
| 28 | - if( !class_exists( '\League\Flysystem\Phpcr\PhpcrAdapter' ) ) { |
|
| 29 | - $this->markTestSkipped( 'Install Flysystem PHPCR adapter' ); |
|
| 28 | + if (!class_exists('\League\Flysystem\Phpcr\PhpcrAdapter')) { |
|
| 29 | + $this->markTestSkipped('Install Flysystem PHPCR adapter'); |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | $config = array( |
@@ -34,10 +34,10 @@ discard block |
||
| 34 | 34 | 'path' => '/tmp/fly_phpcr.db', |
| 35 | 35 | 'root' => '/', |
| 36 | 36 | ); |
| 37 | - $object = new FlyPhpcr( $config ); |
|
| 38 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 37 | + $object = new FlyPhpcr($config); |
|
| 38 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 39 | 39 | |
| 40 | - $this->setExpectedException( '\PHPCR\RepositoryException' ); |
|
| 41 | - $object->has( 'test' ); |
|
| 40 | + $this->setExpectedException('\PHPCR\RepositoryException'); |
|
| 41 | + $object->has('test'); |
|
| 42 | 42 | } |
| 43 | 43 | } |
@@ -7,17 +7,17 @@ |
||
| 7 | 7 | { |
| 8 | 8 | protected function setUp() |
| 9 | 9 | { |
| 10 | - if( !interface_exists( '\\League\\Flysystem\\FilesystemInterface' ) ) { |
|
| 11 | - $this->markTestSkipped( 'Install Flysystem first' ); |
|
| 10 | + if (!interface_exists('\\League\\Flysystem\\FilesystemInterface')) { |
|
| 11 | + $this->markTestSkipped('Install Flysystem first'); |
|
| 12 | 12 | } |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | public function testGetProvider() |
| 17 | 17 | { |
| 18 | - $object = new FlyFtp( array( 'host' => 'ftp.kernel.org' ) ); |
|
| 19 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 18 | + $object = new FlyFtp(array('host' => 'ftp.kernel.org')); |
|
| 19 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 20 | 20 | |
| 21 | - $object->has( 'test' ); |
|
| 21 | + $object->has('test'); |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -7,32 +7,32 @@ |
||
| 7 | 7 | { |
| 8 | 8 | protected function setUp() |
| 9 | 9 | { |
| 10 | - if( !interface_exists( '\\League\\Flysystem\\FilesystemInterface' ) ) { |
|
| 11 | - $this->markTestSkipped( 'Install Flysystem first' ); |
|
| 10 | + if (!interface_exists('\\League\\Flysystem\\FilesystemInterface')) { |
|
| 11 | + $this->markTestSkipped('Install Flysystem first'); |
|
| 12 | 12 | } |
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | public function testGetProvider() |
| 17 | 17 | { |
| 18 | - $object = new FlyRackspace( array() ); |
|
| 19 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 18 | + $object = new FlyRackspace(array()); |
|
| 19 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 20 | 20 | |
| 21 | - $this->setExpectedException( '\Aimeos\MW\Filesystem\Exception' ); |
|
| 22 | - $object->has( 'test' ); |
|
| 21 | + $this->setExpectedException('\Aimeos\MW\Filesystem\Exception'); |
|
| 22 | + $object->has('test'); |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | |
| 26 | 26 | public function testGetProviderContainer() |
| 27 | 27 | { |
| 28 | - if( !class_exists( '\League\Flysystem\Rackspace\RackspaceAdapter' ) ) { |
|
| 29 | - $this->markTestSkipped( 'Install Flysystem Rackspace adapter' ); |
|
| 28 | + if (!class_exists('\League\Flysystem\Rackspace\RackspaceAdapter')) { |
|
| 29 | + $this->markTestSkipped('Install Flysystem Rackspace adapter'); |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | - $object = new FlyRackspace( array( 'container' => 'test' ) ); |
|
| 33 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 32 | + $object = new FlyRackspace(array('container' => 'test')); |
|
| 33 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 34 | 34 | |
| 35 | - $this->setExpectedException( '\OpenCloud\Common\Exceptions\CredentialError' ); |
|
| 36 | - $object->has( 'test' ); |
|
| 35 | + $this->setExpectedException('\OpenCloud\Common\Exceptions\CredentialError'); |
|
| 36 | + $object->has('test'); |
|
| 37 | 37 | } |
| 38 | 38 | } |