Completed
Push — master ( e098c0...4103fb )
by Pavel
09:14
created
tests/AlNiTest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function getDataSet()
23 23
     {
24
-        return new \PHPUnit_Extensions_Database_DataSet_ArrayDataSet(require(__DIR__ . '/data/data-ni.php'));
24
+        return new \PHPUnit_Extensions_Database_DataSet_ArrayDataSet(require(__DIR__.'/data/data-ni.php'));
25 25
     }
26 26
 
27 27
     public function getModelClass()
@@ -35,10 +35,10 @@  discard block
 block discarded – undo
35 35
         $this->assertTrue($node->makeRoot()->save());
36 36
 
37 37
         $node->refresh();
38
-        $this->assertEquals(null,       $node->parent_id);
39
-        $this->assertEquals(0,          $node->lft);
38
+        $this->assertEquals(null, $node->parent_id);
39
+        $this->assertEquals(0, $node->lft);
40 40
         $this->assertEquals(2147483647, $node->rgt);
41
-        $this->assertEquals(0,          $node->depth);
41
+        $this->assertEquals(0, $node->depth);
42 42
     }
43 43
 
44 44
     public function testMakeRootUpdate()
@@ -47,10 +47,10 @@  discard block
 block discarded – undo
47 47
         $this->assertTrue($node->makeRoot()->save());
48 48
 
49 49
         $node->refresh();
50
-        $this->assertEquals(null,       $node->parent_id);
51
-        $this->assertEquals(0,          $node->lft);
50
+        $this->assertEquals(null, $node->parent_id);
51
+        $this->assertEquals(0, $node->lft);
52 52
         $this->assertEquals(2147483647, $node->rgt);
53
-        $this->assertEquals(0,          $node->depth);
53
+        $this->assertEquals(0, $node->depth);
54 54
     }
55 55
 
56 56
     public function testPrependTo()
Please login to merge, or discard this patch.