Browse Source

Bug 13141: (QA Followup) Update number of unit tests

While updating the number of unit tests from 12 to 13,
the number of tests to skip due to a outdated version
of DBD::Mock was missed.

This patch retains the test number change, and corrects
the number of tests.

TEST PLAN
---------
1) prove -v t/db_dependent/ReportsGuided.t
   -- on an UBUNTU git (lacks DBD::Mock >= 1.45)
2) prove -v t/db_dependent/ReportsGuided.t
   -- on a DEBIAN git (has DBD::Mock >= 1.45)
3) compare results.
   -- skipped tests should be 8 (2 individual tests + 6 in the loop)
      under Ubuntu.
   -- non-skipped tests should align.
   -- everything should be 13 tests.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
3.18.x
Kyle Hall 8 years ago
committed by Tomas Cohen Arazi
parent
commit
7b7a45269a
  1. 4
      t/db_dependent/ReportsGuided.t

4
t/db_dependent/ReportsGuided.t

@ -2,7 +2,7 @@
use Modern::Perl;
use Test::More tests => 12;
use Test::More tests => 13;
use Test::MockModule;
use DBD::Mock;
@ -55,7 +55,7 @@ $koha->mock(
SKIP: {
skip "DBD::Mock is too old", 7
skip "DBD::Mock is too old", 8
unless $DBD::Mock::VERSION >= 1.45;
ok( IsAuthorisedValueValid('LOC'),

Loading…
Cancel
Save