Bug 10656: add regression test
authorGalen Charlton <gmc@esilibrary.com>
Tue, 20 Aug 2013 16:59:06 +0000 (16:59 +0000)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 16 Sep 2013 13:33:41 +0000 (10:33 -0300)
commitc0fbaa876c376f1e0d4d0f00d24103bf5f73a21f
tree58f7f63d0c0d89469dfed29f198a39284cea28a7
parent319efaf0957c7b7e3d2a7bae3964397e60d9a37f
Bug 10656: add regression test

This patch adds regression tests to verify the sort
order when fetching authorised values in either staff
or OPAC mode.

This patch also wraps the Koha.t tests in a transaction, and
better handles skipping tests if Test::Deep is not installed.

To test:

[1] Verify that prove -v t/db_dependent/Koha.t passes

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tests pass with all patches applied.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit f8484348d12bac3b1e5f3d2e4fef9d3034d58969)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Koha.t