Lines 4904-4909
subtest "updateWrongTransfer tests" => sub {
Link Here
|
4904 |
subtest "SendCirculationAlert" => sub { |
4904 |
subtest "SendCirculationAlert" => sub { |
4905 |
plan tests => 2; |
4905 |
plan tests => 2; |
4906 |
|
4906 |
|
|
|
4907 |
# When you would unsuspectingly call this unit test (with perl, not prove), you will be bitten by LOCK. |
4908 |
# LOCK will commit changes and ruin your data |
4909 |
# In order to prevent that, we will add KOHA_TESTING to $ENV; see further Circulation.pm |
4910 |
$ENV{KOHA_TESTING} = 1; |
4911 |
|
4907 |
# Setup branch, borrowr, and notice |
4912 |
# Setup branch, borrowr, and notice |
4908 |
my $library = $builder->build_object({ class => 'Koha::Libraries' }); |
4913 |
my $library = $builder->build_object({ class => 'Koha::Libraries' }); |
4909 |
set_userenv( $library->unblessed); |
4914 |
set_userenv( $library->unblessed); |
4910 |
- |
|
|