Ojs\ApiBundle\Tests\Controller\ContactRestControllerTest::testDeleteContactAction PHP Метод

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

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