From be3ce1e7a2477b02d4c071543405898c21380926 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 18 Apr 2014 20:17:27 +0000 Subject: [PATCH] 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 --- t/db_dependent/Serials_2.t | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/t/db_dependent/Serials_2.t b/t/db_dependent/Serials_2.t index d1dff21306..c11c0d323b 100644 --- a/t/db_dependent/Serials_2.t +++ b/t/db_dependent/Serials_2.t @@ -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; -- 2.39.2