Test Failed
Push — master ( 006795...0493ab )
by IRFA
02:24 queued 14s
created
tests/bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php declare(strict_types=1);
2 2
 
3
-require_once __DIR__ . '/../vendor/autoload.php';
4 3
\ No newline at end of file
4
+require_once __DIR__.'/../vendor/autoload.php';
5 5
\ No newline at end of file
Please login to merge, or discard this patch.
tests/GachaTest.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -8,9 +8,9 @@  discard block
 block discarded – undo
8 8
 // Class untuk run Testing.
9 9
 class GachaTest extends TestCase
10 10
 {
11
-    public function testGachaItems()
12
-    {
13
-    	$items = ['SSR ITEM' => 0.1,
11
+	public function testGachaItems()
12
+	{
13
+		$items = ['SSR ITEM' => 0.1,
14 14
 					'SSR ITEM 2' => 0.2,
15 15
 					'SSR ITEM 3' => 0.3,
16 16
 					'SSR ITEM 4' => 0.4,
@@ -33,10 +33,10 @@  discard block
 block discarded – undo
33 33
 					'item 21' => 8.3,
34 34
 					];
35 35
 		$this->assertArrayHasKey(Roll::put($items)->spin(),$items);
36
-    }
37
-    public function testGachaDropUpItems()
38
-    {
39
-    	$items = ['SSR ITEM' => 0.1,
36
+	}
37
+	public function testGachaDropUpItems()
38
+	{
39
+		$items = ['SSR ITEM' => 0.1,
40 40
 					'SSR ITEM 2' => 0.2,
41 41
 					'SSR ITEM 3' => 0.3,
42 42
 					'SSR ITEM 4' => 0.4,
@@ -59,10 +59,10 @@  discard block
 block discarded – undo
59 59
 					'item 21' => 8.3,
60 60
 					];
61 61
 		$this->assertArrayHasKey(Roll::put($items)->dropUp('SSR ITEM',300)->spin(),$items);
62
-    }
63
-    public function testGachaJsonItems()
64
-    {
65
-    	$items = ['SSR ITEM' => 0.1,
62
+	}
63
+	public function testGachaJsonItems()
64
+	{
65
+		$items = ['SSR ITEM' => 0.1,
66 66
 					'SSR ITEM 2' => 0.2,
67 67
 					'SSR ITEM 3' => 0.3,
68 68
 					'SSR ITEM 4' => 0.4,
@@ -85,5 +85,5 @@  discard block
 block discarded – undo
85 85
 					'item 21' => 8.3,
86 86
 					];
87 87
 					$this->assertNotEquals(null,Roll::put($items)->dropUp('SSR ITEM',300)->jsonSpin());
88
-    }
88
+	}
89 89
 }
90 90
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 					'item 20' => 11.6,
33 33
 					'item 21' => 8.3,
34 34
 					];
35
-		$this->assertArrayHasKey(Roll::put($items)->spin(),$items);
35
+		$this->assertArrayHasKey(Roll::put($items)->spin(), $items);
36 36
     }
37 37
     public function testGachaDropUpItems()
38 38
     {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 					'item 20' => 11.6,
59 59
 					'item 21' => 8.3,
60 60
 					];
61
-		$this->assertArrayHasKey(Roll::put($items)->dropUp('SSR ITEM',300)->spin(),$items);
61
+		$this->assertArrayHasKey(Roll::put($items)->dropUp('SSR ITEM', 300)->spin(), $items);
62 62
     }
63 63
     public function testGachaJsonItems()
64 64
     {
@@ -84,6 +84,6 @@  discard block
 block discarded – undo
84 84
 					'item 20' => 11.6,
85 85
 					'item 21' => 8.3,
86 86
 					];
87
-					$this->assertNotEquals(null,Roll::put($items)->dropUp('SSR ITEM',300)->jsonSpin());
87
+					$this->assertNotEquals(null, Roll::put($items)->dropUp('SSR ITEM', 300)->jsonSpin());
88 88
     }
89 89
 }
90 90
\ No newline at end of file
Please login to merge, or discard this patch.