mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
Revert "chore(tests): move to compact, human readable, commentable toml layout for test records"
This reverts commit bb917207c2.
This commit is contained in:
34
erpnext/crm/doctype/lead/test_records.json
Normal file
34
erpnext/crm/doctype/lead/test_records.json
Normal file
@@ -0,0 +1,34 @@
|
||||
[
|
||||
{
|
||||
"doctype": "Lead",
|
||||
"email_id": "test_lead@example.com",
|
||||
"lead_name": "_Test Lead",
|
||||
"status": "Open",
|
||||
"territory": "_Test Territory"
|
||||
},
|
||||
{
|
||||
"doctype": "Lead",
|
||||
"email_id": "test_lead1@example.com",
|
||||
"lead_name": "_Test Lead 1",
|
||||
"status": "Open"
|
||||
},
|
||||
{
|
||||
"doctype": "Lead",
|
||||
"email_id": "test_lead2@example.com",
|
||||
"lead_name": "_Test Lead 2",
|
||||
"status": "Lead"
|
||||
},
|
||||
{
|
||||
"doctype": "Lead",
|
||||
"email_id": "test_lead3@example.com",
|
||||
"lead_name": "_Test Lead 3",
|
||||
"status": "Converted"
|
||||
},
|
||||
{
|
||||
"doctype": "Lead",
|
||||
"email_id": "test_lead4@example.com",
|
||||
"lead_name": "_Test Lead 4",
|
||||
"company_name": "_Test Lead 4",
|
||||
"status": "Open"
|
||||
}
|
||||
]
|
||||
@@ -1,27 +0,0 @@
|
||||
[[Lead]]
|
||||
email_id = "test_lead@example.com"
|
||||
lead_name = "_Test Lead"
|
||||
status = "Open"
|
||||
territory = "_Test Territory"
|
||||
|
||||
[[Lead]]
|
||||
email_id = "test_lead1@example.com"
|
||||
lead_name = "_Test Lead 1"
|
||||
status = "Open"
|
||||
|
||||
[[Lead]]
|
||||
email_id = "test_lead2@example.com"
|
||||
lead_name = "_Test Lead 2"
|
||||
status = "Lead"
|
||||
|
||||
[[Lead]]
|
||||
email_id = "test_lead3@example.com"
|
||||
lead_name = "_Test Lead 3"
|
||||
status = "Converted"
|
||||
|
||||
[[Lead]]
|
||||
email_id = "test_lead4@example.com"
|
||||
lead_name = "_Test Lead 4"
|
||||
company_name = "_Test Lead 4"
|
||||
status = "Open"
|
||||
|
||||
16
erpnext/crm/doctype/opportunity/test_records.json
Normal file
16
erpnext/crm/doctype/opportunity/test_records.json
Normal file
@@ -0,0 +1,16 @@
|
||||
[
|
||||
{
|
||||
"doctype": "Opportunity",
|
||||
"name": "_Test Opportunity 1",
|
||||
"opportunity_from": "Lead",
|
||||
"enquiry_type": "Sales",
|
||||
"party_name": "_T-Lead-00001",
|
||||
"transaction_date": "2013-12-12",
|
||||
"items": [{
|
||||
"item_name": "Test Item",
|
||||
"description": "Some description",
|
||||
"qty": 5,
|
||||
"rate": 100
|
||||
}]
|
||||
}
|
||||
]
|
||||
@@ -1,13 +0,0 @@
|
||||
[[Opportunity]]
|
||||
name = "_Test Opportunity 1"
|
||||
opportunity_from = "Lead"
|
||||
enquiry_type = "Sales"
|
||||
party_name = "_T-Lead-00001"
|
||||
transaction_date = "2013-12-12"
|
||||
[[Opportunity.items]]
|
||||
item_name = "Test Item"
|
||||
description = "Some description"
|
||||
qty = 5
|
||||
rate = 100
|
||||
|
||||
|
||||
Reference in New Issue
Block a user