use Modern::Perl;
use C4::Biblio;
use C4::Circulation;
use C4::Items;
use C4::Context;
use Koha::Patrons;
use t::lib::Mocks;
use t::lib::TestBuilder;
use MARC::Record;
use Test::More tests => 22;
use Test::More tests => 21;
use Test::MockModule;
use Koha::Library;
BEGIN {
use_ok('C4::Circulation');
}
my $schema = Koha::Database->schema;
$schema->storage->txn_begin;
use C4::Members;
use Test::More tests => 5;
use Koha::Database;
use Koha::DateUtils;
use MARC::Field;
use C4::Biblio qw( AddBiblio );
use C4::Circulation qw( AddIssue AddReturn );
use C4::Items qw( AddItem );
use Koha::Patron::Debarments qw( GetDebarments DelDebarment );
use Koha::Account::Lines;
use Test::More tests => 10;
use Koha::DateUtils qw( dt_from_string );
use Test::More tests => 7;
use C4::Reserves;
use Koha::Checkouts;
# along with Koha; if not, see <http://www.gnu.org/licenses>.
use DateTime::Duration;
use_ok('C4::Items', qw(AddItem));
use_ok('C4::Biblio');
use_ok('C4::Context');
use_ok('C4::CourseReserves', qw/:all/);
use_ok('MARC::Field');
use_ok('MARC::Record');
use Test::More tests => 55;
use Test::More tests => 54;
use C4::Calendar;
use Koha::DateUtils qw( dt_from_string output_pref );
use Koha::Biblios;
use Koha::Holds;
use FindBin;
use lib $FindBin::Bin;
use_ok('C4::Reserves');
my $schema = Koha::Database->new->schema;
use Koha::IssuingRule;
use Test::More tests => 6;
use Test::More tests => 3;
use Koha::Libraries;
use Data::Dumper;
use Koha::Items;
use Test::More tests => 14;
use Test::More tests => 12;
use Test::Warn;
use_ok('C4::Items');
use_ok('Koha::Items');
my $location = 'My Location';
use DateTime;
use Test::Exception;
use C4::Biblio; # AddBiblio
use C4::Circulation; # AddIssue
use JSON;
use Test::MockTime qw( set_fixed_time );
use Koha::Patron::Discharge;
use Koha::Caches;
use Test::More tests => 52;
use Test::More tests => 51;
use C4::RotatingCollections;
use_ok('C4::RotatingCollections');
can_ok(
use Koha::Biblioitems;
my $builder = t::lib::TestBuilder->new();
-