Passed
Pull Request — master (#48)
by Raí
05:59 queued 01:05
created
tests/Repositories/RotaRepositoryTest.php 1 patch
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -68,8 +68,8 @@  discard block
 block discarded – undo
68 68
         $entity = $this->getFlushedMockObject();
69 69
 
70 70
         $result = $this->getRepository()
71
-                       ->findAll()
72
-                       ->getResult();
71
+                        ->findAll()
72
+                        ->getResult();
73 73
 
74 74
         $this->assertGreaterThan(0, $result->count());
75 75
         $this->assertInstanceOf($this->getRepository()->getClassName(), $result[0]);
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         $entity = $this->getFlushedMockObject();
93 93
 
94 94
         $result = $this->getRepository()
95
-                       ->findOneBy(['id' => $entity->getId()]);
95
+                        ->findOneBy(['id' => $entity->getId()]);
96 96
 
97 97
         $this->assertNotNull($result);
98 98
         $this->assertInstanceOf($this->getRepository()->getClassName(), $result);
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
         $entity = $this->getFlushedMockObject();
105 105
 
106 106
         $result = $this->getRepository()
107
-                       ->find($entity->getId());
107
+                        ->find($entity->getId());
108 108
 
109 109
         $this->assertNotNull($result);
110 110
         $this->assertInstanceOf($this->getRepository()->getClassName(), $result);
@@ -114,12 +114,12 @@  discard block
 block discarded – undo
114 114
     public function testFindAllRemoved()
115 115
     {
116 116
         $entity = $this->getFlushedMockObject()
117
-                       ->remove()
118
-                       ->flush();
117
+                        ->remove()
118
+                        ->flush();
119 119
 
120 120
         $result = $this->getRepository()
121
-                       ->findAllRemoved()
122
-                       ->getResult();
121
+                        ->findAllRemoved()
122
+                        ->getResult();
123 123
 
124 124
         $this->assertGreaterThan(0, $result->count());
125 125
         $this->assertInstanceOf($this->getRepository()->getClassName(), $result[0]);
@@ -140,11 +140,11 @@  discard block
 block discarded – undo
140 140
     public function testFindRemoved()
141 141
     {
142 142
         $entity = $this->getFlushedMockObject()
143
-                       ->remove()
144
-                       ->flush();
143
+                        ->remove()
144
+                        ->flush();
145 145
 
146 146
         $result = $this->getRepository()
147
-                       ->findRemoved($entity->getId());
147
+                        ->findRemoved($entity->getId());
148 148
 
149 149
         $this->assertNotNull($result);
150 150
         $this->assertInstanceOf($this->getRepository()->getClassName(), $result);
@@ -162,16 +162,16 @@  discard block
 block discarded – undo
162 162
         $entity = $this->getFlushedMockObject();
163 163
 
164 164
         $this->getRepository()
165
-             ->remove($entity)
166
-             ->flush();
165
+                ->remove($entity)
166
+                ->flush();
167 167
 
168 168
         $result = $this->getRepository()
169
-                       ->find($entity->getId(), false);
169
+                        ->find($entity->getId(), false);
170 170
 
171 171
         $this->assertNull($result);
172 172
 
173 173
         $result = $this->getRepository()
174
-                       ->findRemoved($entity->getId());
174
+                        ->findRemoved($entity->getId());
175 175
 
176 176
         $this->assertNotNull($result);
177 177
         $this->assertInstanceOf($this->getRepository()->getClassName(), $result);
Please login to merge, or discard this patch.