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

Ajout des informations de profil en classe de la balise <body>

parent 235ccc04
Branches
Tags
No related merge requests found
......@@ -53,8 +53,8 @@ class ZendAfi_Controller_Action_Helper_View extends Zend_View {
public function setModuleControllerActionNames($module, $controller, $action) {
$this->bodyParam = sprintf('class="%s_%s"',
$controller, $action);
$this->bodyParam = sprintf('class="%s_%s profil_%d"',
$controller, $action, Class_Profil::getCurrentProfil()->getId());
}
......
......@@ -426,6 +426,12 @@ class ProfilOptionsControllerProfilJeunesseViewPageJeuxTest extends ProfilOption
}
/** @test */
public function bodyClassShouldBeIndexIndexProfil12() {
$this->assertXPath('//body[@class="index_index profil_12"]');
}
/** @test */
public function titleShouldBeJeuxForPageJeux() {
$this->assertQueryContentContains('head title', 'Jeux');
......
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