@@ -89,8 +89,8 @@ |
||
| 89 | 89 | } |
| 90 | 90 | |
| 91 | 91 | /** |
| 92 | - * Find the previously created entries from the database. |
|
| 93 | - */ |
|
| 92 | + * Find the previously created entries from the database. |
|
| 93 | + */ |
|
| 94 | 94 | public function testFind() { |
| 95 | 95 | foreach ($this->commentsById as $id => $comment) { |
| 96 | 96 | $this->assertEquals($comment, $this->commentMapper->find($id)); |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | foreach ($this->pollsById as $id => $polls) { |
| 76 | - for ($count=0; $count < 2; $count++) { |
|
| 76 | + for ($count = 0; $count < 2; $count++) { |
|
| 77 | 77 | $comment = $this->fm->instance('OCA\Polls\Db\Comment'); |
| 78 | 78 | $comment->setPollId($id); |
| 79 | 79 | array_push($this->comments, $comment); |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | $this->pollsById[$entry->getId()] = $entry; |
| 77 | 77 | } |
| 78 | 78 | foreach ($this->pollsById as $id => $polls) { |
| 79 | - for ($count=0; $count < 2; $count++) { |
|
| 79 | + for ($count = 0; $count < 2; $count++) { |
|
| 80 | 80 | $log = $this->fm->instance('OCA\Polls\Db\Log'); |
| 81 | 81 | $log->setPollId($id); |
| 82 | 82 | array_push($this->logs, $log); |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | $this->pollMapper->insert($poll); |
| 72 | 72 | |
| 73 | 73 | // insert 3 subscriptions per poll |
| 74 | - for ($count=0; $count < 2; $count++) { |
|
| 74 | + for ($count = 0; $count < 2; $count++) { |
|
| 75 | 75 | $subscription = $this->fm->instance('OCA\Polls\Db\Subscription'); |
| 76 | 76 | $subscription->setPollId($poll->getId()); |
| 77 | 77 | array_push($this->subscriptions, $subscription); |