Skip to content
Snippets Groups Projects
Commit a5540957 authored by llaffont's avatar llaffont
Browse files

Correction fil Ariane sur page connexion

parent f4e2dbe9
Branches
Tags
No related merge requests found
......@@ -208,8 +208,8 @@ class ZendAfi_Controller_Action_Helper_View extends Zend_View {
public function __set($key, $val) {
$this->$key = $val;
// if (($key == 'titre') && !isset($this->_main_title))
// $this->_main_title = $val;
if (($key == 'titre') && !isset($this->_main_title))
$this->_main_title = $val;
}
......
......@@ -137,6 +137,15 @@ class AuthControllerAbonneSIGBLoggedTest extends PortailWithOneLoginModuleTestCa
public function linkSeDeconnecterShouldBePresent() {
$this->assertXPath('//div[@id="boite_login"]//a[contains(@href, "auth/logout")]');
}
/** @test */
public function pageAuthLoginBarreNavShouldBeConnexion() {
$this->bootstrap();
$this->dispatch('/opac/auth/login',true);
$this->assertXPathContentContains('//div[@class="barre_nav"]/span','Connexion',$this->_response->getBody());
}
}
......
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