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);
    }