@@ -18,14 +18,14 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | $includepaths = $aimeos->getIncludePaths(); |
| 20 | 20 | $includepaths[] = get_include_path(); |
| 21 | - set_include_path( implode( PATH_SEPARATOR, $includepaths ) ); |
|
| 21 | + set_include_path(implode(PATH_SEPARATOR, $includepaths)); |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | |
| 25 | - public static function getContext( $site = 'unittest' ) |
|
| 25 | + public static function getContext($site = 'unittest') |
|
| 26 | 26 | { |
| 27 | - if( !isset( self::$context[$site] ) ) { |
|
| 28 | - self::$context[$site] = self::createContext( $site ); |
|
| 27 | + if (!isset(self::$context[$site])) { |
|
| 28 | + self::$context[$site] = self::createContext($site); |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | return clone self::$context[$site]; |
@@ -34,58 +34,58 @@ discard block |
||
| 34 | 34 | |
| 35 | 35 | private static function getAimeos() |
| 36 | 36 | { |
| 37 | - if( !isset( self::$aimeos ) ) |
|
| 37 | + if (!isset(self::$aimeos)) |
|
| 38 | 38 | { |
| 39 | 39 | require_once 'Bootstrap.php'; |
| 40 | - spl_autoload_register( '\Aimeos\Bootstrap::autoload' ); |
|
| 40 | + spl_autoload_register('\Aimeos\Bootstrap::autoload'); |
|
| 41 | 41 | |
| 42 | - $extdir = dirname( dirname( dirname( __DIR__ ) ) ); |
|
| 43 | - self::$aimeos = new \Aimeos\Bootstrap( array( $extdir ), false ); |
|
| 42 | + $extdir = dirname(dirname(dirname(__DIR__))); |
|
| 43 | + self::$aimeos = new \Aimeos\Bootstrap(array($extdir), false); |
|
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | return self::$aimeos; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | |
| 50 | - private static function createContext( $site ) |
|
| 50 | + private static function createContext($site) |
|
| 51 | 51 | { |
| 52 | 52 | $ctx = new \Aimeos\MShop\Context\Item\Standard(); |
| 53 | 53 | $aimeos = self::getAimeos(); |
| 54 | 54 | |
| 55 | 55 | |
| 56 | - $paths = $aimeos->getConfigPaths( 'mysql' ); |
|
| 57 | - $paths[] = __DIR__ . DIRECTORY_SEPARATOR . 'config'; |
|
| 56 | + $paths = $aimeos->getConfigPaths('mysql'); |
|
| 57 | + $paths[] = __DIR__.DIRECTORY_SEPARATOR.'config'; |
|
| 58 | 58 | |
| 59 | - $conf = new \Aimeos\MW\Config\PHPArray( [], $paths ); |
|
| 60 | - $ctx->setConfig( $conf ); |
|
| 59 | + $conf = new \Aimeos\MW\Config\PHPArray([], $paths); |
|
| 60 | + $ctx->setConfig($conf); |
|
| 61 | 61 | |
| 62 | 62 | |
| 63 | - $dbm = new \Aimeos\MW\DB\Manager\PDO( $conf ); |
|
| 64 | - $ctx->setDatabaseManager( $dbm ); |
|
| 63 | + $dbm = new \Aimeos\MW\DB\Manager\PDO($conf); |
|
| 64 | + $ctx->setDatabaseManager($dbm); |
|
| 65 | 65 | |
| 66 | 66 | |
| 67 | - $logger = new \Aimeos\MW\Logger\File( $site . '.log', \Aimeos\MW\Logger\Base::DEBUG ); |
|
| 68 | - $ctx->setLogger( $logger ); |
|
| 67 | + $logger = new \Aimeos\MW\Logger\File($site.'.log', \Aimeos\MW\Logger\Base::DEBUG); |
|
| 68 | + $ctx->setLogger($logger); |
|
| 69 | 69 | |
| 70 | 70 | |
| 71 | 71 | $cache = new \Aimeos\MW\Cache\None(); |
| 72 | - $ctx->setCache( $cache ); |
|
| 72 | + $ctx->setCache($cache); |
|
| 73 | 73 | |
| 74 | 74 | |
| 75 | - $i18n = new \Aimeos\MW\Translation\None( 'de' ); |
|
| 76 | - $ctx->setI18n( array( 'de' => $i18n ) ); |
|
| 75 | + $i18n = new \Aimeos\MW\Translation\None('de'); |
|
| 76 | + $ctx->setI18n(array('de' => $i18n)); |
|
| 77 | 77 | |
| 78 | 78 | |
| 79 | 79 | $session = new \Aimeos\MW\Session\None(); |
| 80 | - $ctx->setSession( $session ); |
|
| 80 | + $ctx->setSession($session); |
|
| 81 | 81 | |
| 82 | 82 | |
| 83 | - $localeManager = \Aimeos\MShop\Locale\Manager\Factory::createManager( $ctx ); |
|
| 84 | - $localeItem = $localeManager->bootstrap( $site, '', '', false ); |
|
| 83 | + $localeManager = \Aimeos\MShop\Locale\Manager\Factory::createManager($ctx); |
|
| 84 | + $localeItem = $localeManager->bootstrap($site, '', '', false); |
|
| 85 | 85 | |
| 86 | - $ctx->setLocale( $localeItem ); |
|
| 86 | + $ctx->setLocale($localeItem); |
|
| 87 | 87 | |
| 88 | - $ctx->setEditor( 'ai-filesystem:unittest' ); |
|
| 88 | + $ctx->setEditor('ai-filesystem:unittest'); |
|
| 89 | 89 | |
| 90 | 90 | return $ctx; |
| 91 | 91 | } |
@@ -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( [] ); |
|
| 23 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 22 | + $object = new FlyZip([]); |
|
| 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,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( [] ); |
|
| 19 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 18 | + $object = new FlyNone([]); |
|
| 19 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 20 | 20 | |
| 21 | - $object->has( 'test' ); |
|
| 21 | + $object->has('test'); |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -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( [] ); |
|
| 23 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 22 | + $object = new FlyMemory([]); |
|
| 23 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 24 | 24 | |
| 25 | - $object->has( 'test' ); |
|
| 25 | + $object->has('test'); |
|
| 26 | 26 | } |
| 27 | 27 | } |
@@ -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 | - if( !class_exists( '\League\Flysystem\AwsS3v3\AwsS3Adapter' ) ) { |
|
| 19 | - $this->markTestSkipped( 'Install Flysystem AwsS3v3 adapter' ); |
|
| 18 | + if (!class_exists('\League\Flysystem\AwsS3v3\AwsS3Adapter')) { |
|
| 19 | + $this->markTestSkipped('Install Flysystem AwsS3v3 adapter'); |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | - $object = new FlyAwsS3( array( 'bucket' => 'test' ) ); |
|
| 23 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 22 | + $object = new FlyAwsS3(array('bucket' => 'test')); |
|
| 23 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 24 | 24 | |
| 25 | - $this->setExpectedException( 'InvalidArgumentException' ); |
|
| 26 | - $object->has( 'test' ); |
|
| 25 | + $this->setExpectedException('InvalidArgumentException'); |
|
| 26 | + $object->has('test'); |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | |
| 30 | 30 | public function testGetProviderNoBucket() |
| 31 | 31 | { |
| 32 | - $object = new FlyAwsS3( [] ); |
|
| 33 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 32 | + $object = new FlyAwsS3([]); |
|
| 33 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 34 | 34 | |
| 35 | - $this->setExpectedException( '\Aimeos\MW\Filesystem\Exception' ); |
|
| 36 | - $object->has( 'test' ); |
|
| 35 | + $this->setExpectedException('\Aimeos\MW\Filesystem\Exception'); |
|
| 36 | + $object->has('test'); |
|
| 37 | 37 | } |
| 38 | 38 | } |
@@ -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\Azure\AzureAdapter' ) ) { |
|
| 19 | - $this->markTestSkipped( 'Install Flysystem Azure adapter' ); |
|
| 18 | + if (!class_exists('\League\Flysystem\Azure\AzureAdapter')) { |
|
| 19 | + $this->markTestSkipped('Install Flysystem Azure adapter'); |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | - $object = new FlyAzure( [] ); |
|
| 23 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 22 | + $object = new FlyAzure([]); |
|
| 23 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 24 | 24 | |
| 25 | - $object->has( 'test' ); |
|
| 25 | + $object->has('test'); |
|
| 26 | 26 | } |
| 27 | 27 | } |
@@ -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( [] ); |
|
| 19 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 18 | + $object = new FlyGridfs([]); |
|
| 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,42 +7,42 @@ |
||
| 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\WebDAV\WebDAVAdapter' ) ) { |
|
| 19 | - $this->markTestSkipped( 'Install Flysystem WebDAV adapter' ); |
|
| 18 | + if (!class_exists('\League\Flysystem\WebDAV\WebDAVAdapter')) { |
|
| 19 | + $this->markTestSkipped('Install Flysystem WebDAV adapter'); |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | try |
| 23 | 23 | { |
| 24 | - $object = new FlyWebdav( array( 'baseUri' => 'http://test.webdav.org/dav/' ) ); |
|
| 25 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 24 | + $object = new FlyWebdav(array('baseUri' => 'http://test.webdav.org/dav/')); |
|
| 25 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 26 | 26 | |
| 27 | - $object->has( 'test' ); |
|
| 27 | + $object->has('test'); |
|
| 28 | 28 | } |
| 29 | - catch( \Exception $e ) |
|
| 29 | + catch (\Exception $e) |
|
| 30 | 30 | { |
| 31 | - $this->markTestSkipped( $e->getMessage() ); |
|
| 31 | + $this->markTestSkipped($e->getMessage()); |
|
| 32 | 32 | } |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | |
| 36 | 36 | public function testGetProviderNoBaseuri() |
| 37 | 37 | { |
| 38 | - if( !class_exists( '\League\Flysystem\WebDAV\WebDAVAdapter' ) ) { |
|
| 39 | - $this->markTestSkipped( 'Install Flysystem WebDAV adapter' ); |
|
| 38 | + if (!class_exists('\League\Flysystem\WebDAV\WebDAVAdapter')) { |
|
| 39 | + $this->markTestSkipped('Install Flysystem WebDAV adapter'); |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - $object = new FlyWebdav( [] ); |
|
| 43 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 42 | + $object = new FlyWebdav([]); |
|
| 43 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 44 | 44 | |
| 45 | - $this->setExpectedException( '\InvalidArgumentException' ); |
|
| 46 | - $object->has( 'test' ); |
|
| 45 | + $this->setExpectedException('\InvalidArgumentException'); |
|
| 46 | + $object->has('test'); |
|
| 47 | 47 | } |
| 48 | 48 | } |
@@ -7,27 +7,27 @@ |
||
| 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 FlyLocal( array( 'basedir' => dirname( dirname( __DIR__ ) ) ) ); |
|
| 19 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 18 | + $object = new FlyLocal(array('basedir' => dirname(dirname(__DIR__)))); |
|
| 19 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 20 | 20 | |
| 21 | - $object->has( 'test' ); |
|
| 21 | + $object->has('test'); |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | |
| 25 | 25 | public function testGetProviderNoBasedir() |
| 26 | 26 | { |
| 27 | - $object = new FlyLocal( [] ); |
|
| 28 | - $this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object ); |
|
| 27 | + $object = new FlyLocal([]); |
|
| 28 | + $this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object); |
|
| 29 | 29 | |
| 30 | - $this->setExpectedException( 'Aimeos\MW\Filesystem\Exception' ); |
|
| 31 | - $object->has( 'test' ); |
|
| 30 | + $this->setExpectedException('Aimeos\MW\Filesystem\Exception'); |
|
| 31 | + $object->has('test'); |
|
| 32 | 32 | } |
| 33 | 33 | } |