Ojs\ApiBundle\Tests\Controller\IndexRestControllerTest::testPatchIndexesAction PHP Метод

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

    public function testPatchIndexesAction()
    {
        $content = ['name' => 'PHPUnitTest Name Field - PATCH'];
        $this->client->request('PATCH', '/api/v1/indexes/1?apikey=' . $this->apikey, [], [], ['CONTENT_TYPE' => 'application/json'], json_encode($content));
        $this->assertStatusCode(204, $this->client);
    }