Bug 11247: Add a simple unit test for TransformHtmlToXml
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 26 Aug 2015 12:09:53 +0000 (14:09 +0200)
committerMason James <mtj@kohaaloha.com>
Mon, 28 Sep 2015 12:06:59 +0000 (01:06 +1300)
commit1016ba0f75d1fca4dcd8dda1f73311f1cb9237ef
tree9dec2c76d0fd5e134141d8361637176b5fe792bd
parentf4ba93afd2241bf7689199674c3596135996971f
Bug 11247: Add a simple unit test for TransformHtmlToXml

The unit test is db dependent (as Jonathan correctly remarked),
since the sub checks a preference.

Test plan:
Run t/db_dependent/Biblio/TransformHtmlToXml.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit d1335a766d7b54c470701b0055fc99be2e7e7628)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
(cherry picked from commit 74e46b7467aa69e5a77d0b7689ddd2d24d76805d)
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
t/db_dependent/Biblio/TransformHtmlToXml.t [new file with mode: 0644]