Bugzilla – Attachment 39538 Details for
Bug 13993
Set correct orderstatus when order is transferred from one vendor to another
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13993: Clarify test messages
Bug-13993-Clarify-test-messages.patch (text/plain), 1.33 KB, created by
Jonathan Druart
on 2015-05-26 16:13:10 UTC
(
hide
)
Description:
Bug 13993: Clarify test messages
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-05-26 16:13:10 UTC
Size:
1.33 KB
patch
obsolete
>From f575c70e31bc565dfc0753050438c9a6e01788ac Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@koha-community.org> >Date: Tue, 26 May 2015 18:10:14 +0200 >Subject: [PATCH] Bug 13993: Clarify test messages > >Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org> >--- > t/db_dependent/Acquisition/TransferOrder.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Acquisition/TransferOrder.t b/t/db_dependent/Acquisition/TransferOrder.t >index 2a1d6f2..0612f9b 100644 >--- a/t/db_dependent/Acquisition/TransferOrder.t >+++ b/t/db_dependent/Acquisition/TransferOrder.t >@@ -78,9 +78,9 @@ is(scalar GetOrders($basketno1), 0, "0 order in basket1"); > is(scalar GetOrders($basketno2), 1, "1 order in basket2"); > > # Determine if the transfer marked things cancelled properly. >-is($order->{orderstatus},'new','Order marked as new as expected'); >+is($order->{orderstatus},'new','Before the transfer, the order status should be new'); > ($order) = GetOrders($basketno1, { 'cancelled' => 1 }); >-is($order->{orderstatus},'cancelled','Order marked as cancelled as expected'); >+is($order->{orderstatus},'cancelled','After the transfer, the order status should be set to cancelled'); > > ($order) = GetOrders($basketno2); > is(scalar GetItemnumbersFromOrder($order->{ordernumber}), 1, "1 item in basket2's order"); >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13993
:
37797
|
37798
|
37957
|
37958
|
37959
|
37977
|
37978
|
37979
|
38668
|
38669
|
38670
|
38674
|
38675
|
38676
|
39017
|
39018
|
39019
|
39535
|
39536
|
39537
| 39538