Bug 12098: (follow-up) deal with FIXMEs in t/db_dependent/Serials_2.t
This patch nails down the number of tests to be run. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
4d78b9588a
commit
be3ce1e7a2
1 changed files with 2 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/perl
|
||||
use Modern::Perl;
|
||||
|
||||
use Test::More;# tests => 5; #FIXME uncomment me
|
||||
use Test::More tests => 37;
|
||||
|
||||
use MARC::Record;
|
||||
|
||||
|
@ -81,7 +81,7 @@ my $borrowernumber = C4::Members::AddMember(
|
|||
userid => $userid,
|
||||
);
|
||||
|
||||
$userenv = { flags => 1, id => $borrowernumber, branch => '' }; # FIXME Not sure about this test
|
||||
$userenv = { flags => 1, id => $borrowernumber, branch => '' };
|
||||
|
||||
# Can edit a subscription
|
||||
|
||||
|
@ -210,12 +210,8 @@ is( C4::Serials::can_show_subscription($subscription_from_another_branch), 1,
|
|||
"Without IndependentBranches, renew_subscription cannot show a subscription from another branch"
|
||||
);
|
||||
|
||||
|
||||
|
||||
$dbh->rollback;
|
||||
|
||||
done_testing;
|
||||
|
||||
# C4::Context->userenv
|
||||
sub Mock_userenv {
|
||||
return $userenv;
|
||||
|
|
Loading…
Reference in a new issue