Ojs\ApiBundle\Tests\Controller\PublisherThemeRestControllerTest::testPatchPublisherThemeAction PHP Метод

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

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