Bugzilla – Attachment 98822 Details for
Bug 24611
Wrong budget_id query parameter in /acquisitions/orders
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24611: Regression test
Bug-24611-Regression-test.patch (text/plain), 1.29 KB, created by
Jonathan Druart
on 2020-02-13 13:09:31 UTC
(
hide
)
Description:
Bug 24611: Regression test
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-02-13 13:09:31 UTC
Size:
1.29 KB
patch
obsolete
>From 9b117414a2fef7794a09eb11d4de2ba173310824 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 7 Feb 2020 09:53:32 -0300 >Subject: [PATCH] Bug 24611: Regression test > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/api/v1/acquisitions_orders.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/api/v1/acquisitions_orders.t b/t/db_dependent/api/v1/acquisitions_orders.t >index 4fae8e440d..39650a4309 100644 >--- a/t/db_dependent/api/v1/acquisitions_orders.t >+++ b/t/db_dependent/api/v1/acquisitions_orders.t >@@ -72,7 +72,7 @@ subtest 'list() tests' => sub { > my $fields = { > biblio_id => 'biblionumber', > basket_id => 'basketno', >- budget_id => 'budget_id', >+ fund_id => 'budget_id', > }; > > my $size = keys %{$fields}; >@@ -84,7 +84,7 @@ subtest 'list() tests' => sub { > my $result = > $t->get_ok("//$userid:$password@/api/v1/acquisitions/orders?$field=" . $order->$model_field) > ->status_is(200) >- ->json_has( [ $order, $another_order ] ); >+ ->json_is( [ $order->to_api, $another_order->to_api ] ); > } > }; > >-- >2.11.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 24611
:
98562
|
98563
|
98592
|
98593
| 98822 |
98823