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

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

    public function testPatchAuthorAction()
    {
        $content = ['raw' => 'Hello raw citation PATCH'];
        $this->client->request('PATCH', '/api/v1/journal/1/article/1/citations/1?apikey=' . $this->apikey, [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($content));
        $this->assertStatusCode(204, $this->client);
    }