Bugzilla – Attachment 22681 Details for
Bug 11111
The basket group is not displayed on the parcel page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11111: UT: SearchOrders returns keys basketgroupid and basketgroupname
Bug-11111-UT-SearchOrders-returns-keys-basketgroup.patch (text/plain), 1.19 KB, created by
Jonathan Druart
on 2013-11-04 08:33:45 UTC
(
hide
)
Description:
Bug 11111: UT: SearchOrders returns keys basketgroupid and basketgroupname
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-11-04 08:33:45 UTC
Size:
1.19 KB
patch
obsolete
>From 0d9efb6611034a639d598f722ad72fd8e2fdacd1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 4 Nov 2013 09:30:38 +0100 >Subject: [PATCH] Bug 11111: UT: SearchOrders returns keys basketgroupid and > basketgroupname > >--- > t/db_dependent/Acquisition.t | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Acquisition.t b/t/db_dependent/Acquisition.t >index 8b737ba..2585802 100755 >--- a/t/db_dependent/Acquisition.t >+++ b/t/db_dependent/Acquisition.t >@@ -8,7 +8,7 @@ use POSIX qw(strftime); > > use C4::Bookseller qw( GetBookSellerFromId ); > >-use Test::More tests => 60; >+use Test::More tests => 62; > > BEGIN { > use_ok('C4::Acquisition'); >@@ -87,6 +87,9 @@ my $orders = SearchOrders({ > isa_ok( $orders, 'ARRAY' ); > is(scalar(@$orders), 3, 'retrieved 3 pending orders'); > >+ok( exists( @$orders[0]->{basketgroupid} ), "SearchOrder: The basketgroupid key exists" ); >+ok( exists( @$orders[0]->{basketgroupname} ), "SearchOrder: The basketgroupname key exists" ); >+ > ok( GetBudgetByOrderNumber($ordernumber1)->{'budget_id'} eq $budgetid, "GetBudgetByOrderNumber returns expected budget" ); > > C4::Acquisition::CloseBasket( $basketno ); >-- >1.7.10.4
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 11111
:
22266
|
22287
|
22435
|
22680
|
22681
|
22682
|
22683