Bugzilla – Attachment 98562 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.17 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-02-07 12:54:31 UTC
(
hide
)
Description:
Bug 24611: Regression test
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-02-07 12:54:31 UTC
Size:
1.17 KB
patch
obsolete
>From e98f2357862e670b3b05fbad94866c9b3addea7f 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 > >--- > 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.25.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