From d60baff8517c8d130e032616f9771f3bbf1d9406 Mon Sep 17 00:00:00 2001
From: Ghislain Loas <ghislo@sandbox.pergame.net>
Date: Tue, 8 Jul 2014 09:31:18 +0200
Subject: [PATCH] fix test failure

---
 .../opac/controllers/AbonneControllerFormationsTest.php       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/application/modules/opac/controllers/AbonneControllerFormationsTest.php b/tests/application/modules/opac/controllers/AbonneControllerFormationsTest.php
index 2fd9a93b85a..2ee9af6d840 100644
--- a/tests/application/modules/opac/controllers/AbonneControllerFormationsTest.php
+++ b/tests/application/modules/opac/controllers/AbonneControllerFormationsTest.php
@@ -346,8 +346,8 @@ class AbonneControllerFormationsListTest extends AbstractAbonneControllerFormati
 
 
 	/** @test */
-	public function barreNavShouldContainsAccueilThatLinksToProfilFourtyTwo() {
-		$this->assertXPathContentContains('//div[@class="barre_nav"]//a[contains(@href, "index/index?id_profil=42")]', 
+	public function barreNavShouldContainsAccueilThatLinksToProfilOne() {
+		$this->assertXPathContentContains('//div[@class="barre_nav"]//a[contains(@href, "index/index?id_profil=1")]', 
 																			'Accueil');
 	}
 }
-- 
GitLab