Lines 714-720
subtest 'Backend core methods' => sub {
Link Here
|
714 |
|
714 |
|
715 |
subtest 'Helpers' => sub { |
715 |
subtest 'Helpers' => sub { |
716 |
|
716 |
|
717 |
plan tests => 20; |
717 |
plan tests => 21; |
718 |
|
718 |
|
719 |
$schema->storage->txn_begin; |
719 |
$schema->storage->txn_begin; |
720 |
|
720 |
|
Lines 882-887
subtest 'Helpers' => sub {
Link Here
|
882 |
$not->{title} eq 'Interlibrary loan request cancelled', |
882 |
$not->{title} eq 'Interlibrary loan request cancelled', |
883 |
'Correct title return from get_notice' |
883 |
'Correct title return from get_notice' |
884 |
); |
884 |
); |
|
|
885 |
$not->{content} =~ s/\s//g; |
886 |
|
887 |
is( |
888 |
$not->{content},"Thepatronforinterlibraryloansrequest" . $illrq_obj->id . ",withthefollowingdetails,hasrequestedcancellationofthisILLrequest:-author:myauthor-title:mytitle", |
889 |
'Correct content returned from get_notice with metadata correctly ordered' |
890 |
); |
885 |
|
891 |
|
886 |
$schema->storage->txn_rollback; |
892 |
$schema->storage->txn_rollback; |
887 |
}; |
893 |
}; |
888 |
- |
|
|