Bugzilla – Attachment 26832 Details for
Bug 10758
Show bibliographic information of deleted records in acquisition baskets
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH 2/2] Bug 10758 - Fix Acquisition unit tests
0010-shortut.patch (text/plain), 3.21 KB, created by
Mathieu Saby
on 2014-04-05 15:07:26 UTC
(
hide
)
Description:
[PATCH 2/2] Bug 10758 - Fix Acquisition unit tests
Filename:
MIME Type:
Creator:
Mathieu Saby
Created:
2014-04-05 15:07:26 UTC
Size:
3.21 KB
patch
obsolete
>From fa0776a95ac2812339a52ab4b828335e57d008e7 Mon Sep 17 00:00:00 2001 >From: Mathieu Saby <mathsabypro@gmail.com> >Date: Sat, 5 Apr 2014 17:04:21 +0200 >Subject: [PATCH 2/2] Bug 10758 - Fix Acquisition unit tests >Content-Type: text/plain; charset="utf-8" > >This patch fixes Acquisition UT >Maybe more work could be done to write specific UT for testing the new features >introduced by bug 10758 > >To test : prove -v t/db_dependant/Acquisition.t > >--- > t/db_dependent/Acquisition.t | 49 ++++++++++++++++-------------------------- > 1 file changed, 18 insertions(+), 31 deletions(-) > >diff --git a/t/db_dependent/Acquisition.t b/t/db_dependent/Acquisition.t >index f2ee820..7478063 100755 >--- a/t/db_dependent/Acquisition.t >+++ b/t/db_dependent/Acquisition.t >@@ -345,6 +345,12 @@ ok( > # > > my @expectedfields = qw( >+ deletedbiblionumber >+ serial >+ number >+ itemtype >+ issn >+ volume > ordernumber > biblionumber > entrydate >@@ -427,31 +433,23 @@ is( join( " ", @$test_different_fields ), > # > > my @base_expectedfields = qw( >+ deletedbiblionumber > ordernumber > ecost > uncertainprice >- marc > cancelledby >- url > isbn > copyrightdate > serial >- cn_suffix >- cn_item >- marcxml > freight >- cn_class > title >- pages > budget_encumb > budget_name > number > itemtype >- totalissues > author > budget_permission > parent_ordernumber >- size > claims_count > currency > seriestitle >@@ -460,24 +458,17 @@ my @base_expectedfields = qw( > budget_parent_id > publishercode > unitprice >- collectionvolume > budget_amount > budget_owner_id >- datecreated > claimed_date > subscriptionid >- editionresponsibility > sort2 > notes >- volumedate > budget_id >- illus > ean >- biblioitemnumber > datereceived > orderstatus > supplierreference >- agerestriction > budget_branchcode > gstrate > listprice >@@ -485,34 +476,24 @@ my @base_expectedfields = qw( > budgetdate > basketno > discount >- abstract >- collectionissn > publicationyear >- collectiontitle > invoiceid > budgetgroup_id >- place > issn > quantityreceived > entrydate >- cn_source > sort1_authcat > budget_notes > biblionumber >- unititle > sort2_authcat > budget_expend > rrp >- cn_sort > totalamount >- lccn > sort1 > volume > purchaseordernumber > quantity > budget_period_id >- frameworkcode >- volumedesc > datecancellationprinted > ); > @expectedfields = >@@ -584,10 +565,18 @@ ok( > # > > @expectedfields = qw ( >+ deletedbiblionumber >+ volume >+ number >+ itemtype >+ ean >+ issn >+ editionstatement >+ publicationyear >+ publishercode > basketgroupid > basketgroupname > firstname >- biblioitemnumber > ecost > uncertainprice > creationdate >@@ -605,7 +594,6 @@ ok( > discount > surname > freight >- abstract > title > closedate > basketname >@@ -621,19 +609,16 @@ ok( > sort1_authcat > timestamp > biblionumber >- unititle > sort2_authcat > rrp > unitprice > totalamount > sort1 > ordernumber >- datecreated > purchaseordernumber > quantity > claimed_date > subscriptionid >- frameworkcode > sort2 > notes > datecancellationprinted >@@ -721,6 +706,8 @@ ok( GetBudgetByOrderNumber( $ordernumbers[0] )->{'budget_id'} eq $budgetid, > # > > @expectedfields = qw ( >+ biblionumber >+ deletedbiblionumber > orderdate > author > budget >-- >1.7.9.5 >
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 10758
:
21296
|
22106
|
26830
|
26832
|
27273
|
27312
|
27313
|
27314
|
27315
|
28514
|
28515
|
29667
|
30551
|
30552
|
30623
|
95782
|
162016
|
162034
|
165229