public function testPatchPageAction() { $id = $this->sampleObjectLoader->loadPage(); $content = ['translations' => [$this->secondLocale => ['title' => 'PHPUnit Test Title Field ' . $this->secondLocale . ' - PATCH', 'body' => 'PHPUnit Test Body Field ' . $this->secondLocale . ' - PATCH']]]; $this->client->request('PATCH', '/api/v1/pages/' . $id . '?apikey=' . $this->apikey, [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($content)); $this->assertStatusCode(204, $this->client); }