public function testPostJournalThemeAction() { $content = ['title' => 'PHPUnit Test Title Field en - POST', 'public' => 1, 'css' => 'body{color: red;.post{}}']; $this->client->request('POST', '/api/v1/journal/1/themes?apikey=' . $this->apikey, [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($content)); $this->assertStatusCode(201, $this->client); }