[fix] [minor] [test cases]
diff --git a/hr/doctype/leave_application/test_leave_application.py b/hr/doctype/leave_application/test_leave_application.py
index 809ff16..5888eae 100644
--- a/hr/doctype/leave_application/test_leave_application.py
+++ b/hr/doctype/leave_application/test_leave_application.py
@@ -243,8 +243,8 @@
[{
"doctype": "Leave Application",
"leave_type": "_Test Leave Type LWP",
- "from_date": "2013-01-02",
- "to_date": "2013-01-02",
+ "from_date": "2013-01-15",
+ "to_date": "2013-01-15",
"posting_date": "2013-01-02",
"fiscal_year": "_Test Fiscal Year 2013",
"employee": "_T-Employee-0001",
diff --git a/stock/doctype/material_request/test_material_request.py b/stock/doctype/material_request/test_material_request.py
index 5144af0..80233d7 100644
--- a/stock/doctype/material_request/test_material_request.py
+++ b/stock/doctype/material_request/test_material_request.py
@@ -87,9 +87,9 @@
"parentfield": "mtn_details",
"incoming_rate": 100,
"qty": qty1,
- "stock_uom": "_Test UOM",
+ "stock_uom": "_Test UOM 1",
"transfer_qty": qty1,
- "uom": "_Test UOM",
+ "uom": "_Test UOM 1",
"t_warehouse": "_Test Warehouse 1 - _TC",
},
{
@@ -99,9 +99,9 @@
"parentfield": "mtn_details",
"incoming_rate": 100,
"qty": qty2,
- "stock_uom": "_Test UOM",
+ "stock_uom": "_Test UOM 1",
"transfer_qty": qty2,
- "uom": "_Test UOM",
+ "uom": "_Test UOM 1",
"t_warehouse": "_Test Warehouse 1 - _TC",
},
])
@@ -319,7 +319,8 @@
mr = webnotes.bean(copy=test_records[0])
mr.doc.company = "_Test Company 1"
self.assertRaises(WrongWarehouseCompany, mr.insert)
-
+
+test_dependencies = ["Currency Exchange"]
test_records = [
[
{
@@ -338,7 +339,7 @@
"parentfield": "indent_details",
"qty": 54.0,
"schedule_date": "2013-02-18",
- "uom": "_Test UOM",
+ "uom": "_Test UOM 1",
"warehouse": "_Test Warehouse - _TC"
},
{
@@ -349,7 +350,7 @@
"parentfield": "indent_details",
"qty": 3.0,
"schedule_date": "2013-02-19",
- "uom": "_Test UOM",
+ "uom": "_Test UOM 1",
"warehouse": "_Test Warehouse - _TC"
}
],