Ojs\ApiBundle\Tests\Controller\SubjectRestControllerTest::testDeleteSubjectAction PHP Method

testDeleteSubjectAction() public method

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