Skip to content

Commit

Permalink
Issue #87: do not set @inc
Browse files Browse the repository at this point in the history
whoever is running the test scripts is responsible for setting up @inc
I suppose this is the most flexible approach.
  • Loading branch information
bschmalhofer committed Jul 1, 2020
1 parent 53defa9 commit 85f7949
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions Kernel/System/UnitTest/RegisterDriver.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ package Kernel::System::UnitTest::RegisterDriver;
use 5.24.0;
use warnings;

# assuming that tests will be run from the otobo dir
use lib '.';
use lib 'Kernel/cpan-lib';
use lib 'Custom';

use parent 'Exporter';
our @EXPORT = qw($Self);

Expand Down
1 change: 0 additions & 1 deletion scripts/test/Valid.t
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ use warnings;
use utf8;

# Set up $Self when we are running as a standalone script.
use if __PACKAGE__ ne 'Kernel::System::UnitTest::Driver', 'lib', '.';
use if __PACKAGE__ ne 'Kernel::System::UnitTest::Driver', 'Kernel::System::UnitTest::RegisterDriver';

use vars (qw($Self));
Expand Down

0 comments on commit 85f7949

Please sign in to comment.