public function testPostPeriodAction() { $content = ['translations' => [$this->locale => ['period' => 'PHPUnit Test Period Field ' . $this->locale . ' - POST']]]; $this->client->request('POST', '/api/v1/periods?apikey=' . $this->apikey, [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($content)); $this->assertStatusCode(201, $this->client); }