Completed
Push90861d...56d35f
pending — Build
created
OpenOrchestra/Tests/Functional/ApiBundle/Controller/NodeControllerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     {
60 60
         $this->markTestSkipped('To reactivate when API roles will be implemented');
61 61
 
62
-        $node = $this->nodeRepository->findOnePublished('fixture_page_contact','fr','2');
62
+        $node = $this->nodeRepository->findOnePublished('fixture_page_contact', 'fr', '2');
63 63
         $node->getStatus()->setPublishedState(false);
64 64
         static::$kernel->getContainer()->get('object_manager')->flush();
65 65
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         $nodeLastVersion = $this->nodeRepository
105 105
             ->findInLastVersion('fixture_page_community', 'fr', '2');
106 106
 
107
-        $this->assertSame($node->getVersion()+1, $nodeLastVersion->getVersion());
107
+        $this->assertSame($node->getVersion() + 1, $nodeLastVersion->getVersion());
108 108
     }
109 109
 
110 110
     /**
Please login to merge, or discard this patch.