]> git.koha-community.org Git - koha.git/commit
Bug 11550: Add UT for C4::Acquisition::GetOrder
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 14 Jan 2014 11:21:43 +0000 (12:21 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 4 Jun 2014 09:15:36 +0000 (11:15 +0200)
commita326d2d26590bbb54d33cacdff9adc3fe534ce1d
tree9e66c2e041cc6014e1ff4a24ca113c8408420abf
parent78decc11a1b57413b5b531552ef9957100120958
Bug 11550: Add UT for C4::Acquisition::GetOrder

If GetOrder is called with a nonexistent ordernumber or without any
ordernumber, it should return undef.

Test plan:
prove t/db_dependent/Acquisition.t

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Updated number of tests to 68, tests and QA script all happy now.
Looked at a few pages in aquisition using GetOrder as well.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 0b35290011a48938b55a069c2e44eee688bf70c8)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Conflicts:
t/db_dependent/Acquisition.t
C4/Acquisition.pm
t/db_dependent/Acquisition.t