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