Bug 11912: (follow-up) Use the common way to mock syspref
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 20 Mar 2014 10:14:58 +0000 (11:14 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 13 Aug 2014 07:40:33 +0000 (09:40 +0200)
commit11a890df5ab01c504d799d813f70cd6c841379b3
tree33c443b7b15d751ec57a220b246a9da417541d57
parentc4d72c760f758063efca8a0b1875084f625dada5
Bug 11912: (follow-up) Use the common way to mock syspref

t::lib::Mocks::mock_preference provides a simple way to mock syspref.

Test plan:
Verify that t/db_dependent/Biblio.t returns green.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit c5f8bf244b9db2e3279774435ae75f7c4b4ab68a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Biblio.t