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)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 13 Aug 2014 18:25:49 +0000 (14:25 -0400)
commita899e1b6832807f8846e6dfcd0fc78257f813c94
tree860fa14fc713282bb9b6bec9410929a52eee101e
parentdc196fd01bbe9e5aed68ccdde36295ced3da7791
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>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 11a890df5ab01c504d799d813f70cd6c841379b3)
t/db_dependent/Biblio.t