Bugzilla – Attachment 162291 Details for
Bug 36075
Add API route to list recalls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36075: QA Follow-up: Fix tests
Bug-36075-QA-Follow-up-Fix-tests.patch (text/plain), 1.26 KB, created by
Pedro Amorim
on 2024-02-20 10:23:58 UTC
(
hide
)
Description:
Bug 36075: QA Follow-up: Fix tests
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-02-20 10:23:58 UTC
Size:
1.26 KB
patch
obsolete
>From 252790d060c1409c95bb1f12a644288f05c77fc9 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 20 Feb 2024 10:23:02 +0000 >Subject: [PATCH] Bug 36075: QA Follow-up: Fix tests > >recall_1 needs to specifically be completed => 0 or else it'll sometimes be 1 and other times be 0 when running tests, causing tests to sometimes fails and other times succeed > >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> >--- > t/db_dependent/api/v1/recalls.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/recalls.t b/t/db_dependent/api/v1/recalls.t >index 54c2265ebe2..938be00c07c 100755 >--- a/t/db_dependent/api/v1/recalls.t >+++ b/t/db_dependent/api/v1/recalls.t >@@ -50,7 +50,7 @@ subtest 'list() tests' => sub { > > $t->get_ok("//$userid:$password@/api/v1/recalls")->status_is( 200, 'SWAGGER3.2.2' )->json_is( [] ); > >- my $recall_1 = $builder->build_object( { class => 'Koha::Recalls', value => { patron_id => $patron->id } } ); >+ my $recall_1 = $builder->build_object( { class => 'Koha::Recalls', value => { patron_id => $patron->id, completed => 0 } } ); > my $recall_2 = > $builder->build_object( { class => 'Koha::Recalls', value => { patron_id => $patron->id, completed => 1 } } ); > >-- >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 36075
:
162075
|
162087
|
162290
|
162291
|
162292