Skip to content
Snippets Groups Projects
Commit 71e9e581 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

removing link to bokeh days 2017-03-24

parent c0373f07
3 merge requests!2334Master,!2102#57574 : correction orthographe des jours de la semaine,!2094Master
Pipeline #943 canceled with stage
in 12 minutes and 46 seconds
<?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 = '';
......
......@@ -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
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