Ojs\ApiBundle\Tests\Controller\JournalIssueRestControllerTest::testPatchJournalIssueAction PHP Метод

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

    public function testPatchJournalIssueAction()
    {
        $content = ['translations' => ['en' => ['title' => 'PHPUnit Test Title Field en - PATCH']], 'number' => 3, 'volume' => 1];
        $this->client->request('PATCH', '/api/v1/journal/1/issues/1?apikey=' . $this->apikey, [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($content));
        $this->assertStatusCode(204, $this->client);
    }