Ojs\ApiBundle\Tests\Controller\ContactTypesRestControllerTest::testDeleteContacttypeAction PHP Метод

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

    public function testDeleteContacttypeAction()
    {
        $announcementId = $this->sampleObjectLoader->loadContactType();
        $this->client->request('DELETE', '/api/v1/contacttypes/' . $announcementId . '?apikey=' . $this->apikey);
        $this->assertStatusCode(204, $this->client);
    }