diff --git a/application/modules/telephone/views/scripts/recherche/ressourcesnumeriques.phtml b/application/modules/telephone/views/scripts/recherche/ressourcesnumeriques.phtml
index 39359e51cc07e3e597ce1e979a4a91d1e783ef84..7382cbf2d5f0b60be3aa107b67f9eb76f7a7d052 100644
--- a/application/modules/telephone/views/scripts/recherche/ressourcesnumeriques.phtml
+++ b/application/modules/telephone/views/scripts/recherche/ressourcesnumeriques.phtml
@@ -3,4 +3,3 @@ echo $this->toolbar($this->_("Livre numérisé"),
                     ['action' => 'simple']);
 echo $this->tag('h1', $this->notice->getTitrePrincipal());
 echo $this->renderAlbum($this->notice->getAlbum());
-?>
diff --git a/library/ZendAfi/View/Helper/RenderAlbum.php b/library/ZendAfi/View/Helper/RenderAlbum.php
index c96b359367d067e9da06f99eb0e61b41b7ad3c94..47e2cf37a35ec172f838ae681e9e54a63ddbfc99 100644
--- a/library/ZendAfi/View/Helper/RenderAlbum.php
+++ b/library/ZendAfi/View/Helper/RenderAlbum.php
@@ -38,6 +38,4 @@ class ZendAfi_View_Helper_RenderAlbum extends ZendAfi_View_Helper_BaseHelper {
   public function renderAlbumHelper($album) {
     return $album->renderOn($this->view);
   }
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/library/ZendAfi/View/Helper/Telephone/RenderAlbum.php b/library/ZendAfi/View/Helper/Telephone/RenderAlbum.php
index c914d248b8a08b1c873b19a38ebe98b89799c36e..c82e861e15cb0ba0617b02aefa9b467ea9661939 100644
--- a/library/ZendAfi/View/Helper/Telephone/RenderAlbum.php
+++ b/library/ZendAfi/View/Helper/Telephone/RenderAlbum.php
@@ -25,6 +25,4 @@ class ZendAfi_View_Helper_Telephone_RenderAlbum extends ZendAfi_View_Helper_Rend
       ? sprintf('<div id="resnum">%s</div>', $this->renderAlbumHelper($album))
       : $this->view->_('Aucune ressource numérique trouvée.');
   }
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php b/library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php
index b673e497ef2d097ca2ab635adf9211754171774f..d9db97f903038c1bebe97ac1161e55cdbe0732e9 100644
--- a/library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php
+++ b/library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php
@@ -19,7 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
  */
 
+
 class ZendAfi_View_Helper_Telephone_TagDilicomWidget extends ZendAfi_View_Helper_TagDilicomWidget {
+
   protected function _getLoanBookAction() {
     return 'loan-book';
   }
@@ -30,26 +32,23 @@ class ZendAfi_View_Helper_Telephone_TagDilicomWidget extends ZendAfi_View_Helper
   }
 
 
-  public function renderBookPreview($album) {
+  protected function _renderBookPreview($album) {
     // too much performance issues
     return '';
   }
 
 
-  protected function getConsultBookAnchor() {
+  protected function _getConsultBookAnchor() {
     return '';
   }
 
 
-  protected function getLoanBookAnchor() {
-    return $this->getDilicomAnchor(['controller' => 'bib-numerique',
-                                    'action' => $this->_getLoanBookAction(),
-                                    'id' => $this->_album->getId()],
-                                   $this->_('Emprunter le livre au format EPUB'),
-                                   ['data-role' => 'button',
-                                    'data-ajax' => 'false']);
+  protected function _getLoanBookAnchor() {
+    return $this->_anchor(['controller' => 'bib-numerique',
+                           'action' => $this->_getLoanBookAction(),
+                           'id' => $this->_album->getId()],
+                          $this->_('Emprunter le livre au format EPUB'),
+                          ['data-role' => 'button',
+                           'data-ajax' => 'false']);
   }
-
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/tests/application/modules/telephone/controllers/RechercheControllerRessourceNumeriqueTest.php b/tests/application/modules/telephone/controllers/RechercheControllerRessourceNumeriqueTest.php
index 9e848c88128d9e1abb5d0f68fa2b200242bbab6d..6ae0f878e9bcaf617fbb7d3e9ff33560ea953ea4 100644
--- a/tests/application/modules/telephone/controllers/RechercheControllerRessourceNumeriqueTest.php
+++ b/tests/application/modules/telephone/controllers/RechercheControllerRessourceNumeriqueTest.php
@@ -19,7 +19,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
  */
 
-require_once 'TelephoneAbstractControllerTestCase.php';
 
 abstract class Telephone_RechercheControllerRessourceNumeriqueTestCase extends TelephoneAbstractControllerTestCase {
   protected $_storm_default_to_volatile = true;
@@ -195,63 +194,4 @@ class Telephone_RechercheControllerRessourceNumeriqueElserViewNoticeTest
                                       'Accéder à la vidéo',
                                       $this->_response->getBody());
   }
-}
-
-
-
-
-class Telephone_RechercheControllerRessourceNumeriqueViewNoticePNBTest extends Telephone_RechercheControllerRessourceNumeriqueTestCase {
-  public function setUp() {
-    parent::setUp();
-    $this->fixture('Class_Album',
-                   ['id' => 1,
-                    'titre' => 'Hypnophonic',
-                    'visible' => true,
-                    'status' => Class_Album::STATUS_VALIDATED,
-                    'type_doc_id' => Class_TypeDoc::DILICOM])->index();
-
-    $logged_user = $this->fixture('Class_Users',
-                                  ['id' => 6,
-                                   'nom'=>'Pito',
-                                   'login'=>'Chat',
-                                   'password'=>'123456',
-                                   'id_site' => 1,
-                                   'idabon' => '12345',
-                                   'user_groups' => [$this->fixture('Class_UserGroup',
-                                                                    ['id' => '20',
-                                                                     'libelle' => 'Multimedia',
-                                                                     'rights' => [Class_UserGroup::RIGHT_ACCES_PNB_DILICOM]])]]);
-    $logged_user->beAbonneSIGB()->assertSave();
-    ZendAfi_Auth::getInstance()->logUser($logged_user);
-  }
-
-
-  /** @test */
-  public function pageShouldContainsLinkToRessouresNumeriques() {
-    $this->dispatch('/telephone/recherche/viewnotice/id/1', true);
-
-    $this->assertXPathContentContains('//ul[contains(@class, "doctype_112")]//a',
-                                      'Accéder à la ressource',$this->_response->getBody());
-  }
-
-
-  /** @test */
-  public function loanBookActionShouldBeLoanBookNotAjax() {
-    $this->dispatch('/telephone/recherche/ressourcesnumeriques/id/1', true);
-    $this->assertXPath('//a[contains(@href, "bib-numerique/loan-book/id/1")]');
-  }
-
-
-  /** @test */
-  public function consultBookActionShouldNotBeVisiable() {
-    $this->dispatch('/telephone/recherche/ressourcesnumeriques/id/1', true);
-    $this->assertNotXPath('//a[contains(@href, "bib-numerique/consult-book/id/1")]');
-  }
-
-
-  /** @test */
-  public function previewIframeShouldNotBeDisplayed() {
-    $this->dispatch('/telephone/recherche/ressourcesnumeriques/id/1', true);
-    $this->assertNotXPath('//iframe');
-  }
 }
\ No newline at end of file
diff --git a/tests/application/modules/telephone/controllers/TelephoneAbstractControllerTestCase.php b/tests/application/modules/telephone/controllers/TelephoneAbstractControllerTestCase.php
index fff38f0f996e96209a6516dc3cf7a1d7936b44b0..62a89ff7f2efb60c2c6b8427065729fe3b9ad120 100644
--- a/tests/application/modules/telephone/controllers/TelephoneAbstractControllerTestCase.php
+++ b/tests/application/modules/telephone/controllers/TelephoneAbstractControllerTestCase.php
@@ -34,5 +34,4 @@ abstract class TelephoneAbstractControllerTestCase extends AbstractControllerTes
     unset($_SERVER['HTTP_USER_AGENT']);
     parent::tearDown();
   }
-}
-?>
\ No newline at end of file
+}
\ No newline at end of file
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index b04ef170339f2eddf6f0db12abda10cf571b3cb1..8276cf8b9dabcde00628a8aef0b45a8f99e3cc63 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -92,8 +92,9 @@ require_once 'tests/library/ZendAfi/View/Helper/ViewHelperTestCase.php';
 require_once 'tests/application/modules/admin/controllers/AdminAbstractControllerTestCase.php';
 require_once 'tests/fixtures/RessourcesNumeriquesFixtures.php';
 require_once 'tests/fixtures/MockedClasses.php';
+require_once 'tests/application/modules/telephone/controllers/TelephoneAbstractControllerTestCase.php';
 
 register_shutdown_function(function(){
   TestSpeedTrap::printSpeedTrappedTests();
 });
-?>
+?>
\ No newline at end of file
diff --git a/tests/scenarios/PnbDilicom/PnbDilicomTest.php b/tests/scenarios/PnbDilicom/PnbDilicomTest.php
index cc3f931f511bd36bf5a4075f74104652328bbf2a..a733afb06b2acda1a157c96f1c2031a27364340e 100644
--- a/tests/scenarios/PnbDilicom/PnbDilicomTest.php
+++ b/tests/scenarios/PnbDilicom/PnbDilicomTest.php
@@ -3234,6 +3234,75 @@ class PnbDilicomAdminIndexControllerTest extends Admin_AbstractControllerTestCas
   public function pnPnbDilicomnShouldBePresent() {
     RessourcesNumeriquesFixtures::activateDilicom();
     $this->dispatch('/admin/index/index', true);
-    $this->assertXPathContentContains($this->_bibnum_menu_path . '//a', 'PNB Dilicom');
+    $this->assertXPathContentContains('//div[@class="menuGaucheAdmin"][.//td[text()="Bibliothèque numérique"]]//a', 'PNB Dilicom');
   }
 }
+
+
+
+
+class PnbDilicomTelephoneRechercheControllerViewNoticeTest extends TelephoneAbstractControllerTestCase {
+
+  protected $_storm_default_to_volatile = true;
+
+
+  public function setUp() {
+    parent::setUp();
+    RessourcesNumeriquesFixtures::activateDilicom();
+    $book = (new DilicomFixtures())->albumTotemThora()
+                                   ->setVisible(true)
+                                   ->setStatus(Class_Album::STATUS_VALIDATED);
+    $book->assertSave();
+    $book->index();
+
+    $this->fixture('Class_Bib',
+                   ['id' => 1,
+                    'libelle' => 'annecy',
+                    'gln' => '2222'
+                   ]);
+
+    $logged_user = $this->fixture('Class_Users',
+                                  ['id' => 6,
+                                   'nom'=>'Pito',
+                                   'login'=>'Chat',
+                                   'password'=>'123456',
+                                   'id_site' => 1,
+                                   'idabon' => '12345',
+                                   'user_groups' => [$this->fixture('Class_UserGroup',
+                                                                    ['id' => '20',
+                                                                     'libelle' => 'Multimedia',
+                                                                     'rights' => [Class_UserGroup::RIGHT_ACCES_PNB_DILICOM]])]]);
+
+    $logged_user->beAbonneSIGB()->assertSave();
+    ZendAfi_Auth::getInstance()->logUser($logged_user);
+  }
+
+
+  /** @test */
+  public function pageShouldContainsLinkToRessouresNumeriques() {
+    $this->dispatch('/telephone/recherche/viewnotice/id/1', true);
+    $this->assertXPathContentContains('//ul[contains(@class, "doctype_112")]//a',
+                                      'Accéder à la ressource');
+  }
+
+
+  /** @test */
+  public function loanBookActionShouldBeLoanBookNotAjax() {
+    $this->dispatch('/telephone/recherche/ressourcesnumeriques/id/1', true);
+    $this->assertXPath('//a[contains(@href, "bib-numerique/loan-book/id/3")]');
+  }
+
+
+  /** @test */
+  public function consultBookActionShouldNotBeVisible() {
+    $this->dispatch('/telephone/recherche/ressourcesnumeriques/id/1', true);
+    $this->assertNotXPath('//a[contains(@href, "bib-numerique/consult-book/id/3")]');
+  }
+
+
+  /** @test */
+  public function previewIframeShouldNotBeDisplayed() {
+    $this->dispatch('/telephone/recherche/ressourcesnumeriques/id/1', true);
+    $this->assertNotXPath('//iframe');
+  }
+}
\ No newline at end of file