Passed
Push — master ( 4244cd...c9003b )
by xiaohui
02:57
created
tests/FilesystemTest.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -7,17 +7,17 @@
 block discarded – undo
7 7
 
8 8
 class FilesystemTest extends AbstractTest
9 9
 {
10
-    /**
11
-     * 测试登陆
12
-     *
13
-     * @return void
14
-     */
15
-    public function testRegisterProvider()
16
-    {
17
-        /**
18
-         * @var \Illuminate\Filesystem\FilesystemAdapter $disk
19
-         */
20
-        $disk = Storage::disk('wantu');
21
-        $this->assertEquals(WantuFileAdapter::class, get_class($disk->getDriver()->getAdapter()));
22
-    }
10
+	/**
11
+	 * 测试登陆
12
+	 *
13
+	 * @return void
14
+	 */
15
+	public function testRegisterProvider()
16
+	{
17
+		/**
18
+		 * @var \Illuminate\Filesystem\FilesystemAdapter $disk
19
+		 */
20
+		$disk = Storage::disk('wantu');
21
+		$this->assertEquals(WantuFileAdapter::class, get_class($disk->getDriver()->getAdapter()));
22
+	}
23 23
 }
Please login to merge, or discard this patch.
tests/AbstractTest/AbstractTest.php 1 patch
Indentation   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -10,33 +10,33 @@
 block discarded – undo
10 10
  */
11 11
 abstract class AbstractTest extends TestCase
12 12
 {
13
-    /**
14
-     * Creates the application.
15
-     *
16
-     * @return \Illuminate\Foundation\Application
17
-     */
18
-    public function createApplication()
19
-    {
20
-        /**
21
-         * @var \Illuminate\Foundation\Application $app
22
-         */
23
-        $app = require __DIR__ . '/../../vendor/laravel/laravel/bootstrap/app.php';
13
+	/**
14
+	 * Creates the application.
15
+	 *
16
+	 * @return \Illuminate\Foundation\Application
17
+	 */
18
+	public function createApplication()
19
+	{
20
+		/**
21
+		 * @var \Illuminate\Foundation\Application $app
22
+		 */
23
+		$app = require __DIR__ . '/../../vendor/laravel/laravel/bootstrap/app.php';
24 24
 
25
-        $app->make(Kernel::class)->bootstrap();
25
+		$app->make(Kernel::class)->bootstrap();
26 26
 
27
-        config()->set('app.env', 'testing');
28
-        config()->set('app.debug', true);
29
-        config()->set('app.key', 'AckfSECXIvnK5r28GVIWUAxmbBSjTsmF');
30
-        config()->set('filesystems.disks.wantu', [
31
-            'driver' => 'wantu',
32
-            'access_key' => 'test',
33
-            'secret_key' => 'test',
34
-            'namespace' => 'test',
35
-            'domain' => 'test',
36
-        ]);
27
+		config()->set('app.env', 'testing');
28
+		config()->set('app.debug', true);
29
+		config()->set('app.key', 'AckfSECXIvnK5r28GVIWUAxmbBSjTsmF');
30
+		config()->set('filesystems.disks.wantu', [
31
+			'driver' => 'wantu',
32
+			'access_key' => 'test',
33
+			'secret_key' => 'test',
34
+			'namespace' => 'test',
35
+			'domain' => 'test',
36
+		]);
37 37
 
38
-        $app->register(WantuFileServiceProvider::class);
38
+		$app->register(WantuFileServiceProvider::class);
39 39
 
40
-        return $app;
41
-    }
40
+		return $app;
41
+	}
42 42
 }
Please login to merge, or discard this patch.