Completed
Push — master ( 2aac5a...eaa64a )
by amaury
06:55
created
Tests/Functional/GroupBundle/Repository/GroupRepositoryTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
         $this->assertNull($this->repository->findOneByName('test'));
139 139
     }
140 140
 
141
-   /**
141
+    /**
142 142
      * Test remove users
143 143
      */
144 144
     public function testSoftDeleteGroupBySite()
Please login to merge, or discard this patch.
Tests/Functional/ModelLogBundle/Repository/LogRepositoryTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function testFindForPaginate(PaginateFinderConfiguration $configuration, $expectedCount, $expectedFilteredCount)
42 42
     {
43
-       $this->assertCount($expectedCount, $this->repository->findForPaginate($configuration));
43
+        $this->assertCount($expectedCount, $this->repository->findForPaginate($configuration));
44 44
     }
45 45
 
46 46
     /**
@@ -96,6 +96,6 @@  discard block
 block discarded – undo
96 96
      */
97 97
     public function testCountWithFilter(PaginateFinderConfiguration $configuration, $expectedCount, $expectedFilteredCount)
98 98
     {
99
-       $this->assertSame($expectedFilteredCount, $this->repository->countWithFilter($configuration));
99
+        $this->assertSame($expectedFilteredCount, $this->repository->countWithFilter($configuration));
100
+    }
100 101
     }
101
- }
Please login to merge, or discard this patch.
Tests/Functional/BackofficeBundle/Controller/ContentTypeControllerTest.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -34,16 +34,16 @@
 block discarded – undo
34 34
      */
35 35
     public function testFormController()
36 36
     {
37
-         $contentTypes = $this->contentTypeRepository->findAll();
38
-         $contentTypeCount = count($contentTypes);
37
+            $contentTypes = $this->contentTypeRepository->findAll();
38
+            $contentTypeCount = count($contentTypes);
39 39
 
40
-         $crawler = $this->client->request('GET', '/admin/content-type/form/news');
41
-         $form = $crawler->selectButton('Save')->form();
40
+            $crawler = $this->client->request('GET', '/admin/content-type/form/news');
41
+            $form = $crawler->selectButton('Save')->form();
42 42
 
43
-         $this->submitForm($form);
43
+            $this->submitForm($form);
44 44
 
45
-         $contentTypes = $this->contentTypeRepository->findAll();
46
-         $this->assertCount($contentTypeCount + 1, $contentTypes);
45
+            $contentTypes = $this->contentTypeRepository->findAll();
46
+            $this->assertCount($contentTypeCount + 1, $contentTypes);
47 47
     }
48 48
 
49 49
     /**
Please login to merge, or discard this patch.
Tests/Functional/BackofficeBundle/Controller/SiteControllerTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,9 +114,9 @@
 block discarded – undo
114 114
      */
115 115
     protected function assertNodeCount($count, $language)
116 116
     {
117
-         $nodes = $this->nodeRepository->findNotDeletedSortByUpdatedAt(NodeInterface::ROOT_NODE_ID, $language, $this->siteId);
117
+            $nodes = $this->nodeRepository->findNotDeletedSortByUpdatedAt(NodeInterface::ROOT_NODE_ID, $language, $this->siteId);
118 118
 
119
-         $this->assertCount($count, $nodes);
119
+            $this->assertCount($count, $nodes);
120 120
     }
121 121
 
122 122
     /**
Please login to merge, or discard this patch.
Tests/Functional/ModelBundle/Repository/StatustRepositoryTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,4 +133,4 @@
 block discarded – undo
133 133
         $dm->persist(clone $statusPublished);
134 134
         $dm->flush();
135 135
     }
136
- }
136
+    }
Please login to merge, or discard this patch.
Tests/Functional/ModelBundle/Repository/NodeRepositoryTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -997,7 +997,7 @@
 block discarded – undo
997 997
             array('2', 'en', 8),
998 998
             array('2', 'es', 0),
999 999
             array('3', 'fr', 1),
1000
-       );
1000
+        );
1001 1001
     }
1002 1002
 
1003 1003
 }
Please login to merge, or discard this patch.
Tests/Functional/BackofficeBundle/Controller/NodeControllerTest.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -45,21 +45,21 @@  discard block
 block discarded – undo
45 45
         $nodeRoot = $this->nodeRepository->findInLastVersion(NodeInterface::ROOT_NODE_ID, $this->language, $this->siteId);
46 46
         $nodeFixtureCommunity = $this->nodeRepository->findInLastVersion('fixture_page_community', $this->language, $this->siteId);
47 47
 
48
-         $url = '/admin/node/form/' . $this->siteId . '/' . $nodeRoot->getNodeId(). '/' . $this->language . '/' . $nodeRoot->getVersion();
49
-         $this->client->request('GET', $url);
50
-         $this->assertForm($this->client->getResponse());
48
+            $url = '/admin/node/form/' . $this->siteId . '/' . $nodeRoot->getNodeId(). '/' . $this->language . '/' . $nodeRoot->getVersion();
49
+            $this->client->request('GET', $url);
50
+            $this->assertForm($this->client->getResponse());
51 51
 
52
-         $url = '/admin/node/new/' . $this->siteId . '/' . $this->language . '/' . $nodeRoot->getNodeId() . '/0';
53
-         $this->client->request('GET', $url);
54
-         $this->assertForm($this->client->getResponse());
52
+            $url = '/admin/node/new/' . $this->siteId . '/' . $this->language . '/' . $nodeRoot->getNodeId() . '/0';
53
+            $this->client->request('GET', $url);
54
+            $this->assertForm($this->client->getResponse());
55 55
 
56
-         $url = '/admin/node/form/' . $this->siteId . '/' . $nodeFixtureCommunity->getNodeId(). '/' . $this->language . '/' . $nodeFixtureCommunity->getVersion();
57
-         $this->client->request('GET', $url);
58
-         $this->assertForm($this->client->getResponse());
56
+            $url = '/admin/node/form/' . $this->siteId . '/' . $nodeFixtureCommunity->getNodeId(). '/' . $this->language . '/' . $nodeFixtureCommunity->getVersion();
57
+            $this->client->request('GET', $url);
58
+            $this->assertForm($this->client->getResponse());
59 59
 
60
-         $url = '/admin/node/new/' . $this->siteId . '/' . $this->language . '/' . $nodeRoot->getNodeId() . '/0';
61
-         $this->client->request('GET', $url);
62
-         $this->assertForm($this->client->getResponse());
60
+            $url = '/admin/node/new/' . $this->siteId . '/' . $this->language . '/' . $nodeRoot->getNodeId() . '/0';
61
+            $this->client->request('GET', $url);
62
+            $this->assertForm($this->client->getResponse());
63 63
     }
64 64
 
65 65
     /**
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
         $nodes = $this->nodeRepository->findByNodeId($nodeId);
118 118
         foreach ($nodes as $node) {
119 119
             $node->setStatus($autoUnpublishTo);
120
-       }
120
+        }
121 121
 
122 122
         $this->documentManager->flush();
123 123
 
Please login to merge, or discard this patch.
Functional/BackofficeBundle/EventSubscriber/BlockFormTypeSubscriberTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -99,9 +99,9 @@
 block discarded – undo
99 99
             array(ContentListStrategy::NAME, array(
100 100
                 'contentNodeId' => 'root',
101 101
                 'contentSearch' => array(
102
-                  'contentType' => 'news',
103
-                  'choiceType' => 'choice_and',
104
-                  'keywords' => null,
102
+                    'contentType' => 'news',
103
+                    'choiceType' => 'choice_and',
104
+                    'keywords' => null,
105 105
                 ),
106 106
                 'characterNumber' => 150
107 107
             )),
Please login to merge, or discard this patch.