From 71e9e581a00630e0fc4a59eccbbd96f9f36ccfaf Mon Sep 17 00:00:00 2001
From: gloas <gloas@afi-sa.fr>
Date: Mon, 27 Mar 2017 15:53:28 +0200
Subject: [PATCH] removing link to bokeh days 2017-03-24

---
 .../admin/views/scripts/index/index.phtml     |  9 -------
 .../admin/controllers/IndexControllerTest.php | 26 -------------------
 2 files changed, 35 deletions(-)

diff --git a/application/modules/admin/views/scripts/index/index.phtml b/application/modules/admin/views/scripts/index/index.phtml
index aa6b6700059..473832996c9 100644
--- a/application/modules/admin/views/scripts/index/index.phtml
+++ b/application/modules/admin/views/scripts/index/index.phtml
@@ -1,12 +1,3 @@
-<?php
-echo $this->tag('p',
-                $this->tagAnchor('http://bokeh-library-portal.org/journees-communautaires-2017',
-                                 $this->_('Inscrivez-vous aux journées communautaires Bokeh du 23 et 24 mars 2017'),
-                                 ['target' => '_blank']),
-                ['class' => 'bokeh-days'])
-?>
-
-
 <h2><?php echo $this->_('Paramètres du site');?>&nbsp;:</h2>
 <?php
 $lien = $edit_domain_name = '';
diff --git a/tests/application/modules/admin/controllers/IndexControllerTest.php b/tests/application/modules/admin/controllers/IndexControllerTest.php
index 5adbed7087a..68edf4713f8 100644
--- a/tests/application/modules/admin/controllers/IndexControllerTest.php
+++ b/tests/application/modules/admin/controllers/IndexControllerTest.php
@@ -432,30 +432,4 @@ class Admin_IndexControllerAdminvarActionTest extends Admin_AbstractControllerTe
   public function varNewsletterUnsubscribeTextShouldBeLienPourSeDesinscrire() {
     $this->assertXPathContentContains('//tr[@data-adminvar="NEWSLETTER_UNSUBSCRIBE_TEXT"]//td', 'Lien pour se ');
   }
-}
-
-
-
-
-class Admin_IndexControllerBokehDaysTest extends Admin_AbstractControllerTestCase {
-
-  public function setUp() {
-    parent::setUp();
-    $this->dispatch('/admin/index', true);
-  }
-
-
-  /** @test */
-  public function dateShouldBeBefore23032017() {
-    $this->assertTrue('2017-03-23' > date('Y-m-d', time()));
-  }
-
-
-  /**
-   * @test
-   * @depends dateShouldBeBefore23032017
-   */
-  public function shouldContainsLinkToCommunityDays() {
-    $this->assertXPath('//div//p/a[@href="http://bokeh-library-portal.org/journees-communautaires-2017"]');
-  }
 }
\ No newline at end of file
-- 
GitLab