Ojs\ApiBundle\Tests\Controller\JournalArticleAuthorRestControllerTest::testPatchAuthorAction PHP Метод

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

    public function testPatchAuthorAction()
    {
        $content = ['author' => ['orcid' => 'orcid-phpunit patch', 'translations' => ['tr' => ['biography' => 'Hello biography tr patch'], 'en' => ['biography' => 'Hello biography en patch']], 'title' => 1], 'authorOrder' => 2];
        $this->client->request('PATCH', '/api/v1/journal/1/article/1/authors/1?apikey=' . $this->apikey, [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($content));
        $this->assertStatusCode(204, $this->client);
    }