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)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 12 Mar 2014 14:16:20 +0000 (14:16 +0000)
commit0b35290011a48938b55a069c2e44eee688bf70c8
tree767441297dcddb797cca333ef4d0ba6077cc1179
parenta443d16692fbda6243628fb9d5c1dedc738404f6
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>
C4/Acquisition.pm
t/db_dependent/Acquisition.t