Bugzilla – Attachment 123336 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.41 KB, created by
Nick Clemens (kidclamp)
on 2021-07-30 17:33:47 UTC
(
hide
)
Description:
Bug 28340: Unit test
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-07-30 17:33:47 UTC
Size:
1.41 KB
patch
obsolete
>From 5edb2ea7d11492cc1ea87b760e99c3a6b125a2fd 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> >--- > 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 24ef726f96..52555a3e86 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; >+# $not->{content},"The patron for interlibrary loans request " . $illrq_obj->id . ", with the following details, has requested cancellation of this ILL request:\n\n-author:myauthor\n-title:mytitle", >+ 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.20.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