Bugzilla – Attachment 123710 Details for
Bug 27944
Add new stages to the article request process
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27944: REQUESTED is the new default status
Bug-27944-REQUESTED-is-the-new-default-status.patch (text/plain), 1.62 KB, created by
Tomás Cohen Arazi (tcohen)
on 2021-08-10 16:44:10 UTC
(
hide
)
Description:
Bug 27944: REQUESTED is the new default status
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2021-08-10 16:44:10 UTC
Size:
1.62 KB
patch
obsolete
>From 78fe152f9076252b401b4124981aa9b0a61a87b2 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 10 Aug 2021 13:11:42 -0300 >Subject: [PATCH] Bug 27944: REQUESTED is the new default status > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/ArticleRequests.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/ArticleRequests.t b/t/db_dependent/ArticleRequests.t >index 3f0ec37cd3..bb4b5f8b8d 100755 >--- a/t/db_dependent/ArticleRequests.t >+++ b/t/db_dependent/ArticleRequests.t >@@ -76,13 +76,13 @@ my $article_request = Koha::ArticleRequest->new( > )->store(); > > my $notify_message = Koha::Notice::Messages->search->next; >-is( $notify_message->letter_code, "AR_".Koha::ArticleRequest::Status::Pending); >+is( $notify_message->letter_code, "AR_".Koha::ArticleRequest::Status::Requested); > # Default AR_PROCESSING template content "Title: <<article_requests.title>>" > like( $notify_message->content, qr{Title: $article_request_title}, 'Values from article_requests table must be fetched for the notification' ); > > $article_request = Koha::ArticleRequests->find( $article_request->id ); > ok( $article_request->id, 'Koha::ArticleRequest created' ); >-is( $article_request->status, Koha::ArticleRequest::Status::Pending, 'New article request has status of Open' ); >+is( $article_request->status, Koha::ArticleRequest::Status::Requested, 'New article request has status of Open' ); > isnt( $article_request->created_on, undef, 'New article request has created_on date set' ); > isnt( $article_request->updated_on, undef, 'New article request has updated_on date set' ); > >-- >2.30.2
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 27944
:
119020
|
119021
|
119022
|
120454
|
122673
|
122836
|
122837
|
122838
|
122839
|
122842
|
122843
|
122857
|
122984
|
122985
|
122986
|
122987
|
122988
|
122989
|
122990
|
123710
|
123711
|
123712
|
123943
|
123944
|
123945
|
123946
|
123947
|
123948
|
123949
|
123950
|
123951
|
123952
|
124966
|
124967
|
124968
|
124969
|
124970
|
124971
|
124972
|
124973
|
124974
|
124975
|
124976
|
125158
|
125544
|
125565
|
125567
|
125762
|
125813