From a7cf9fd350a21829f5de59077acdba999549d913 Mon Sep 17 00:00:00 2001
From: Andreas Romeyke <art1@andreas-romeyke.de>
Date: Sat, 23 Oct 2021 14:27:26 +0200
Subject: [PATCH] - the test uses the lib/ now, therefore the hack in BEGIN is
 not needed any more

---
 t/slubsipbuilderbagit.t | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/t/slubsipbuilderbagit.t b/t/slubsipbuilderbagit.t
index 07a7d90..758b063 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";
-- 
GitLab