Ojs\ApiBundle\Tests\Controller\JournalIssueFileRestControllerTest::testPatchFileAction PHP Метод

testPatchFileAction() публичный Метод

public testPatchFileAction ( )
    public function testPatchFileAction()
    {
        $content = ['translations' => ['tr' => ['title' => 'PHPUnit Test Title - PATCH']]];
        $this->client->request('PATCH', '/api/v1/journal/1/issue/1/files/1?apikey=' . $this->apikey, [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($content));
        $this->assertStatusCode(204, $this->client);
    }