]> git.koha-community.org Git - koha.git/commit
Bug 13993: (1) Add tests to confirm 'new' and 'cancelled'
authorMark Tompsett <mtompset@hotmail.com>
Thu, 16 Apr 2015 12:54:30 +0000 (08:54 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 15 Jul 2015 23:39:49 +0000 (11:39 +1200)
commitf62bc698e737b73c404e8ccc3df9a266b97fc5f6
tree68ed8c3c003a87c0564e4e672a2cffcea9fdab51
parent784e05e87302363760c47a7c4dfae6019d62fe6f
Bug 13993: (1) Add tests to confirm 'new' and 'cancelled'

This adds 2 tests to t/db_dependent/Acquisition/TransferOrder.t
in order to confirm the order's status is properly marked.

TEST PLAN
---------
1) Log into staff client
2) Acquisitions
3) Create a basket for two differing vendors.
4) Place an order in one of the baskets.
5) Transfer the order from one vendor's basket to the others.
6) Apply this patch (1) only
7) prove -v t/db_dependent/Acquisition/TransferOrder.t
   -- should fail one test: not marked as 'cancelled'.

Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit b335b7299120f642a0f7d7654937521df8f75ba6)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
t/db_dependent/Acquisition/TransferOrder.t