]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1257915: add live_t tests
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 1 May 2017 20:45:29 +0000 (16:45 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 1 May 2017 20:51:10 +0000 (16:51 -0400)
commit2bb2d341a6156079fc10d734a66bbb291091afc0
tree90af56ef4aa3917514d4ef9f02b39913393b4a1f
parent697417bfdc5cf83a680de9afa4f6954d5559b8e6
LP#1257915: add live_t tests

And here's a test plan for humans:

[1] Create a purchase order with, say, 3 lineitems and 2
    copies on each of these.
[2] Receive the first two lineitems outright.
[3] Receive one of the copies on the last lineitem and cancel
    the other with a cancellation reason that's permanent (e.g.,
    bad ISBN) rather than temporary (e.g., backordered).
[4] Note that the purchase order's state remains 'on-order'
[5] Apply the patch.
[6] Repeat steps #1-4. This time, the PO's state should be
    'received'.
[7] Repeat steps #1-4, but this time, choose backordered as
    the cancellation reason. This time, the PO's state should
    remain 'on-order'.

It should be noted that the patches for this bug do *not*
retrospectively mark purchase orders as being received.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/live_t/22-acq-po-status.t [new file with mode: 0644]