Bug 16224: Fix t/db_dependent/Reports_Guided.t
commit2b5387e9013b0e3ecc2d6135a5a81f8d26f81329
authorJulian Maurice <julian.maurice@biblibre.com>
Thu, 7 Apr 2016 15:03:47 +0000 (7 17:03 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 21 Apr 2016 08:14:57 +0000 (21 10:14 +0200)
tree0d0980b129052ba64d70823d8ce5840802067a66
parenta965702c08f84d8d770fb81e09f13bee8e922bba
Bug 16224: Fix t/db_dependent/Reports_Guided.t

This test:

is( scalar @{ get_saved_reports( $report_ids[0] ) }, 1,
"filter takes report id" );

can fail when $report_ids[0] is a substring of some saved_sql fields
from other reports (reports that have a different id than
$report_ids[0]).
We can only be sure that get_saved_reports will return at least 1
report.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan Gallagher <bredan@bywatersolutions.com>
(cherry picked from commit 08017f89f150394b6224fafb64fe8d12fc146ff1)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
t/db_dependent/Reports_Guided.t