From 4e66ecdb2be7b242a9f55249590956b189a6a093 Mon Sep 17 00:00:00 2001
From: gloas <gloas@afi-sa.fr>
Date: Thu, 22 Mar 2018 16:21:47 +0100
Subject: [PATCH] hotline #72797 adding test for rt

---
 .../modules/admin/controllers/BibControllerTest.php          | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/application/modules/admin/controllers/BibControllerTest.php b/tests/application/modules/admin/controllers/BibControllerTest.php
index 4d84e2f15dc..6e48cea2e1a 100644
--- a/tests/application/modules/admin/controllers/BibControllerTest.php
+++ b/tests/application/modules/admin/controllers/BibControllerTest.php
@@ -1527,6 +1527,11 @@ class BibControllerLocalisationMajTest extends BibControllerTestCase {
     $this->assertXPath('//iframe[contains(@src,"filename=bib_2_localisation_9.jpg")]');
   }
 
+
+  /** @test */
+  public function scriptShouldContainsDisplayPlan() {
+    $this->assertXPath('//script', 'function displayPlan()');
+  }
 }
 
 
-- 
GitLab