Ojs\ApiBundle\Tests\Controller\PeriodRestControllerTest::testDeletePeriodAction PHP Method

testDeletePeriodAction() public method

    public function testDeletePeriodAction()
    {
        $entityId = $this->sampleObjectLoader->loadPeriod();
        $this->client->request('DELETE', '/api/v1/periods/' . $entityId . '?apikey=' . $this->apikey);
        $this->assertStatusCode(204, $this->client);
    }