@@ -139,7 +139,7 @@ |
||
139 | 139 | $dm->remove($group); |
140 | 140 | } |
141 | 141 | |
142 | - /** |
|
142 | + /** |
|
143 | 143 | * Test remove users |
144 | 144 | */ |
145 | 145 | public function testSoftDeleteGroupBySite() |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | ->field('_id')->notEqual(new \MongoId($source['id'])) |
61 | 61 | ->getQuery() |
62 | 62 | ->execute(); |
63 | - foreach ($groups as $group){ |
|
63 | + foreach ($groups as $group) { |
|
64 | 64 | $dm->remove($group); |
65 | 65 | } |
66 | 66 | $dm->flush(); |
@@ -75,8 +75,8 @@ discard block |
||
75 | 75 | */ |
76 | 76 | public function testApi($url, $getParameter = '', $method = 'GET') |
77 | 77 | { |
78 | - $baseGetParameter = '?access_token=' . $this->getAccessToken(); |
|
79 | - $this->client->request($method, $url . $baseGetParameter . $getParameter); |
|
78 | + $baseGetParameter = '?access_token='.$this->getAccessToken(); |
|
79 | + $this->client->request($method, $url.$baseGetParameter.$getParameter); |
|
80 | 80 | $this->assertEquals(200, $this->client->getResponse()->getStatusCode()); |
81 | 81 | $this->assertSame('application/json', $this->client->getResponse()->headers->get('content-type')); |
82 | 82 | } |