From c9d365da6d15ab0b2c4059516e864fcbd73818fd Mon Sep 17 00:00:00 2001
From: efalcy <efalcy@afi-sa.fr>
Date: Thu, 12 Nov 2015 11:48:08 +0100
Subject: [PATCH] dev #31761 : workflow notification , fix test

---
 .../application/modules/admin/controllers/CmsControllerTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/application/modules/admin/controllers/CmsControllerTest.php b/tests/application/modules/admin/controllers/CmsControllerTest.php
index b7824f3f15d..0895477a826 100644
--- a/tests/application/modules/admin/controllers/CmsControllerTest.php
+++ b/tests/application/modules/admin/controllers/CmsControllerTest.php
@@ -1440,7 +1440,7 @@ class CmsControllerNewsAddActionWithoutWorkflowTest extends CmsControllerWithPer
 
   /** @test */
   public function auteurShouldBeDisplayByDefault() {
-    $this->assertXPathContentContains('//td','AdminBibConnected');
+    $this->assertXPathContentContains('//li','AdminBibConnected',$this->_response->getBody());
   }
 }
 
-- 
GitLab