Bug 10656: add regression test
authorGalen Charlton <gmc@esilibrary.com>
Tue, 20 Aug 2013 16:59:06 +0000 (16:59 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 6 Sep 2013 16:47:30 +0000 (16:47 +0000)
commitf8484348d12bac3b1e5f3d2e4fef9d3034d58969
treee60eaba1c7415c1194d43c12a7c622ed727dc1f0
parent598a830af0f97aef39bae36265c06a6f8ed73f10
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>
t/db_dependent/Koha.t