Bugzilla – Attachment 125120 Details for
Bug 28340
Provide improved display of ILL request metadata in notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28340: Unit test
Bug-28340-Unit-test.patch (text/plain), 1.26 KB, created by
Jonathan Druart
on 2021-09-21 18:11:54 UTC
(
hide
)
Description:
Bug 28340: Unit test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-09-21 18:11:54 UTC
Size:
1.26 KB
patch
obsolete
>From 2ed314a93cb7caba072eaa72d40f901a008151c3 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 30 Jul 2021 15:52:18 +0000 >Subject: [PATCH] Bug 28340: Unit test > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> > >JD amended patch: remove commented line >--- > t/db_dependent/Illrequests.t | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Illrequests.t b/t/db_dependent/Illrequests.t >index 24ef726f96d..2fa89337f06 100755 >--- a/t/db_dependent/Illrequests.t >+++ b/t/db_dependent/Illrequests.t >@@ -714,7 +714,7 @@ subtest 'Backend core methods' => sub { > > subtest 'Helpers' => sub { > >- plan tests => 20; >+ plan tests => 21; > > $schema->storage->txn_begin; > >@@ -882,6 +882,12 @@ subtest 'Helpers' => sub { > $not->{title} eq 'Interlibrary loan request cancelled', > 'Correct title return from get_notice' > ); >+ $not->{content} =~ s/\s//g; >+ >+ is( >+ $not->{content},"Thepatronforinterlibraryloansrequest" . $illrq_obj->id . ",withthefollowingdetails,hasrequestedcancellationofthisILLrequest:-author:myauthor-title:mytitle", >+ 'Correct content returned from get_notice with metadata correctly ordered' >+ ); > > $schema->storage->txn_rollback; > }; >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 28340
:
120914
|
122631
|
123336
|
123337
| 125120