diff --git a/t/slubsipbuilderbagit.t b/t/slubsipbuilderbagit.t index 07a7d907a3856aa147439232a93b10a16a13ae5f..758b063b56e9fd69b0f083538280dfddb074ae12 100644 --- a/t/slubsipbuilderbagit.t +++ b/t/slubsipbuilderbagit.t @@ -31,8 +31,7 @@ use Test::File; use Path::Tiny; use File::Copy::Recursive qw(dircopy); use File::Path qw(rmtree); - - +use LWP::UserAgent; # *** Read before running tests *** # Usage: perl -I lib/ t/slubsipbuilderbagit.t # Note: While running tests of "SLUB_SIP_Builder", path "tmp/bagit" will be created. @@ -124,8 +123,8 @@ sub equalFilesByIgnoringCRLF_LF($$){ BEGIN { use Path::Tiny; push @INC, Path::Tiny::path(__FILE__)->parent->parent->path("bin")->absolute->stringify; - require "slubsipbuilderbagit.pl"; - $INC{'SLUB/LZA/SIPBuilderBagIt.pm'} = 1; # needed because inlined module + #require "slubsipbuilderbagit.pl"; + #$INC{'SLUB/LZA/SIPBuilderBagIt.pm'} = 1; # needed because inlined module } my $exportToArchiveDate = "2020-08-05_10-26-11"; my $ppn = "457035137";