Bugzilla – Attachment 98592 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.22 KB, created by
David Nind
on 2020-02-07 21:01:44 UTC
(
hide
)
Description:
Bug 24611: Regression test
Filename:
MIME Type:
Creator:
David Nind
Created:
2020-02-07 21:01:44 UTC
Size:
1.22 KB
patch
obsolete
>From 2b247aa9920bdbf5377b8c461a5afd3c4a7fbe92 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> >--- > 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