From d9eb2c89afbffc55c88d583039372ca79d470f56 Mon Sep 17 00:00:00 2001 From: gloas <gloas@afi-sa.fr> Date: Fri, 1 Jun 2018 09:39:46 +0200 Subject: [PATCH] dev #75742 remove useless test --- tests/scenarios/Thesauri/ThesauriTest.php | 30 +---------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/tests/scenarios/Thesauri/ThesauriTest.php b/tests/scenarios/Thesauri/ThesauriTest.php index fad23f55eda..b4c9e2655e2 100644 --- a/tests/scenarios/Thesauri/ThesauriTest.php +++ b/tests/scenarios/Thesauri/ThesauriTest.php @@ -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 -- GitLab