public test_routing_AdminContentPage_delete ( ) |
public function test_routing_AdminContentPage_delete()
{
$redirectUrl = $this->app->url('admin_content_page');
$this->client->request('DELETE', $this->app->url('admin_content_page_delete', array('id' => 1)));
$actual = $this->client->getResponse()->isRedirect($redirectUrl);
$this->assertTrue($actual);
}