Bugzilla – Attachment 126321 Details for
Bug 24609
Add routes for updating checkouts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24609: (QA follow-up) Remove diag from tests
Bug-24609-QA-follow-up-Remove-diag-from-tests.patch (text/plain), 1.11 KB, created by
Tomás Cohen Arazi
on 2021-10-15 11:51:38 UTC
(
hide
)
Description:
Bug 24609: (QA follow-up) Remove diag from tests
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2021-10-15 11:51:38 UTC
Size:
1.11 KB
patch
obsolete
>From 0693f60a867738e28b85d144e2473544e31a7d4a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 15 Oct 2021 08:49:10 -0300 >Subject: [PATCH] Bug 24609: (QA follow-up) Remove diag from tests > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/api/v1/checkouts.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/checkouts.t b/t/db_dependent/api/v1/checkouts.t >index 835ffc70e3..5cbcdb8d1c 100755 >--- a/t/db_dependent/api/v1/checkouts.t >+++ b/t/db_dependent/api/v1/checkouts.t >@@ -228,7 +228,7 @@ $t->get_ok( "//$userid:$password@/api/v1/checkouts/" . $issue2->issue_id . "/all > my $new_date_due = Koha::DateUtils::dt_from_string( $issue2->date_due ); > $new_date_due->add(days => 2); > $new_date_due = output_pref({ dateformat => "rfc3339", dt => $new_date_due }); >-diag("The new date due should be: $new_date_due"); >+ > $t->put_ok( "//$userid:$password@/api/v1/checkouts/" . $issue2->issue_id => json => { due_date => $new_date_due }) > ->status_is(200, 'Due date updated successfully') > ->json_is('/due_date' => $new_date_due); >-- >2.32.0
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 24609
:
98924
|
98925
|
99021
|
99022
|
115879
|
115880
|
115881
|
126191
|
126192
|
126193
|
126194
|
126316
|
126317
|
126318
|
126319
|
126320
|
126321
|
126917
|
126921
|
126922
|
126923
|
126924
|
126925
|
126926
|
126927
|
126928