summaryrefslogtreecommitdiff
path: root/addons/purchase_double_validation/test/purchase_double_validation_test.yml
diff options
context:
space:
mode:
authorRucha (Open ERP) <rpa@tinyerp.com>2012-07-11 22:37:58 +0530
committerRucha (Open ERP) <rpa@tinyerp.com>2012-07-11 22:37:58 +0530
commit3612035b2e122b9e8b048ea0a37f8e6f1a4e7bdf (patch)
treeb6cfbf4288512f71775cbabcdad0cbd30337094e /addons/purchase_double_validation/test/purchase_double_validation_test.yml
parentbed063e0df08b7195e95e8c91ed48292e210d3ea (diff)
[IMP]: purchase: Improved xml_id reference of purchase orders
bzr revid: rpa@tinyerp.com-20120711170758-52xt4mgjltod650b
Diffstat (limited to 'addons/purchase_double_validation/test/purchase_double_validation_test.yml')
-rwxr-xr-xaddons/purchase_double_validation/test/purchase_double_validation_test.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/addons/purchase_double_validation/test/purchase_double_validation_test.yml b/addons/purchase_double_validation/test/purchase_double_validation_test.yml
index b7172636386..fb18db6d990 100755
--- a/addons/purchase_double_validation/test/purchase_double_validation_test.yml
+++ b/addons/purchase_double_validation/test/purchase_double_validation_test.yml
@@ -9,28 +9,28 @@
-
In order to test the flow, I confirmed the purchase order.
-
- !workflow {model: purchase.order, action: purchase_confirm, ref: order_purchase11}
+ !workflow {model: purchase.order, action: purchase_confirm, ref: purchase_order_11}
-
I check that the order which was initially in the draft state has transmit to confirm state for double validation it should not an Approve state.
-
- !assert {model: purchase.order, id: order_purchase11, severity: error, string: Purchase Order should not be in Approved state.}:
+ !assert {model: purchase.order, id: purchase_order_11, severity: error, string: Purchase Order should not be in Approved state.}:
- state != 'approved'
-
I Approved the purchase order.
-
- !workflow {model: purchase.order, action: purchase_approve, ref: order_purchase11}
+ !workflow {model: purchase.order, action: purchase_approve, ref: purchase_order_11}
-
I check that the order which was initially in the confirmed state has transmit to approved state.
-
- !assert {model: purchase.order, id: order_purchase11, severity: error, string: Purchase Order should be in Approved state.}:
+ !assert {model: purchase.order, id: purchase_order_11, severity: error, string: Purchase Order should be in Approved state.}:
- state == 'approved'
-
I confirmed the purchase order of amount of less than Limit amount.
-
- !workflow {model: purchase.order, action: purchase_confirm, ref: order_purchase12}
+ !workflow {model: purchase.order, action: purchase_confirm, ref: purchase_order_12}
-
I check that the order is in approved state.
-
- !assert {model: purchase.order, id: order_purchase12, severity: error, string: Purchase Order should be in Approved state.}:
+ !assert {model: purchase.order, id: purchase_order_12, severity: error, string: Purchase Order should be in Approved state.}:
- state == 'approved'