Commit d9eb2c89 authored by Ghislain Loas's avatar Ghislain Loas

dev #75742 remove useless test

parent 33cc20c5
......@@ -187,32 +187,4 @@ class Thesauri_ThesauriEditTest extends Thesauri_ThesauriTestCase {
$this->postDispatch('/admin/thesauri/edit/id/3', ['rules' => 'brave']);
$this->assertEmpty(Class_CodifThesaurus::find(3)->getRuleslabel());
}
}
class Thesauri_ThesauriAdminIndexDispatchTest extends Thesauri_ThesauriTestCase {
public function setUp() {
parent::setUp();
$user = $this->fixture('Class_Users',
['id' => 65,
'login' => 'admin',
'password' => 'admin',
'role_level' => ZendAfi_Acl_AdminControllerRoles::ADMIN_PORTAIL]);
ZendAfi_Auth::getInstance()->logUser($user);
$this->dispatch('/admin/index', true);
}
/** @test */
public function thesauriIndexLinkShouldBePresent() {
$this->assertXpathContentContains('//a[contains(@href, "/thesauri/index")]',
'Parcourir les Thesaurus',
$this->_response->getBody());
}
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment