Bug 13993: (1) Add tests to confirm 'new' and 'cancelled'
commitb335b7299120f642a0f7d7654937521df8f75ba6
authorMark Tompsett <mtompset@hotmail.com>
Thu, 16 Apr 2015 12:54:30 +0000 (16 08:54 -0400)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Fri, 19 Jun 2015 14:44:45 +0000 (19 11:44 -0300)
tree069190de311b9646ebaf946513311eb4b6317ea9
parent2eaeb708795e7624eb8873b617d4a38d69fa84fc
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>
t/db_dependent/Acquisition/TransferOrder.t