Completed
Push — master ( 0e2880...c1652d )
by Aimeos
05:28
created
lib/custom/tests/MW/Filesystem/FlyDropboxTest.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -7,19 +7,19 @@  discard block
 block discarded – undo
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( [] );
19
-		$this->assertInstanceof( '\Aimeos\MW\Filesystem\Iface', $object );
18
+		$object = new FlyDropbox([]);
19
+		$this->assertInstanceof('\Aimeos\MW\Filesystem\Iface', $object);
20 20
 
21
-		$this->expectException( 'Aimeos\MW\Filesystem\Exception' );
22
-		$object->has( 'test' );
21
+		$this->expectException('Aimeos\MW\Filesystem\Exception');
22
+		$object->has('test');
23 23
 	}
24 24
 
25 25
 
@@ -28,28 +28,28 @@  discard block
 block discarded – undo
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->expectException( 'Aimeos\MW\Filesystem\Exception' );
35
-		$object->has( 'test' );
34
+		$this->expectException('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->expectException( 'Exception' );
53
-		$object->has( 'test' );
52
+		$this->expectException('Exception');
53
+		$object->has('test');
54 54
 	}
55 55
 }
Please login to merge, or discard this patch.