|
@@ -127,12 +127,12 @@ |
|
|
block discarded – undo |
|
127
|
127
|
$this->loadFixturesFromFile('authentication/api_administrator.yml'); |
|
128
|
128
|
$countries = $this->loadFixturesFromFile('resources/countries.yml'); |
|
129
|
129
|
|
|
130
|
|
- $this->client->request('DELETE', '/api/countries/' . $countries['country_NL']->getId(), [], [], static::$authorizedHeaderWithContentType, []); |
|
|
130
|
+ $this->client->request('DELETE', '/api/countries/'.$countries['country_NL']->getId(), [], [], static::$authorizedHeaderWithContentType, []); |
|
131
|
131
|
|
|
132
|
132
|
$response = $this->client->getResponse(); |
|
133
|
133
|
$this->assertResponseCode($response, Response::HTTP_NO_CONTENT); |
|
134
|
134
|
|
|
135
|
|
- $this->client->request('GET', '/api/countries/' . $countries['country_NL']->getId(), [], [], static::$authorizedHeaderWithAccept); |
|
|
135
|
+ $this->client->request('GET', '/api/countries/'.$countries['country_NL']->getId(), [], [], static::$authorizedHeaderWithAccept); |
|
136
|
136
|
|
|
137
|
137
|
$response = $this->client->getResponse(); |
|
138
|
138
|
$this->assertResponse($response, 'error/not_found_response', Response::HTTP_NOT_FOUND); |
Please login to merge, or discard this patch.