Ojs\ApiBundle\Tests\Controller\JournalArticleFileRestControllerTest::testDeleteFileAction PHP Метод

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

    public function testDeleteFileAction()
    {
        $entityId = $this->sampleObjectLoader->loadArticleFile();
        $this->client->request('DELETE', '/api/v1/journal/1/article/1/files/' . $entityId . '?apikey=' . $this->apikey);
        $this->assertStatusCode(204, $this->client);
    }