Lines 15-32
Link Here
|
15 |
# with Koha; if not, see <http://www.gnu.org/licenses>. |
15 |
# with Koha; if not, see <http://www.gnu.org/licenses>. |
16 |
|
16 |
|
17 |
use Modern::Perl; |
17 |
use Modern::Perl; |
18 |
|
18 |
use File::Basename; |
19 |
use Test::More tests => 4; |
19 |
use Test::More tests => 4; |
20 |
use Test::MockModule; |
20 |
use Test::MockModule; |
21 |
use Test::Warn; |
21 |
use Test::Warn; |
22 |
|
22 |
|
23 |
use File::Basename; |
|
|
24 |
|
25 |
use Koha::Account qw( add_credit ); |
26 |
|
27 |
use t::lib::Mocks; |
23 |
use t::lib::Mocks; |
28 |
use t::lib::TestBuilder; |
24 |
use t::lib::TestBuilder; |
29 |
|
25 |
|
|
|
26 |
use Koha::Database; |
27 |
use C4::Circulation qw(); |
28 |
use Koha::CirculationRules; |
29 |
use Koha::Plugins::Methods; |
30 |
use Koha::Recalls; |
31 |
|
30 |
BEGIN { |
32 |
BEGIN { |
31 |
# Mock pluginsdir before loading Plugins module |
33 |
# Mock pluginsdir before loading Plugins module |
32 |
my $path = dirname(__FILE__) . '/../../../lib/plugins'; |
34 |
my $path = dirname(__FILE__) . '/../../../lib/plugins'; |
33 |
- |
|
|