frappe/frappe#478 added test_records.json
This commit is contained in:
parent
4f304cfc6a
commit
2aefa2e135
9 changed files with 166 additions and 0 deletions
23
frappe/core/doctype/event/test_records.json
Normal file
23
frappe/core/doctype/event/test_records.json
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[
|
||||
{
|
||||
"doctype": "Event",
|
||||
"subject":"_Test Event 1",
|
||||
"starts_on": "2014-01-01",
|
||||
"event_type": "Public"
|
||||
},
|
||||
{
|
||||
"doctype": "Event",
|
||||
"starts_on": "2014-01-01",
|
||||
"subject":"_Test Event 2",
|
||||
"event_type": "Private"
|
||||
},
|
||||
{
|
||||
"doctype": "Event",
|
||||
"starts_on": "2014-01-01",
|
||||
"subject":"_Test Event 3",
|
||||
"event_type": "Private",
|
||||
"event_individuals": [{
|
||||
"person": "test1@example.com"
|
||||
}]
|
||||
}
|
||||
]
|
||||
1
frappe/core/doctype/letter_head/test_records.json
Normal file
1
frappe/core/doctype/letter_head/test_records.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
[]
|
||||
10
frappe/core/doctype/role/test_records.json
Normal file
10
frappe/core/doctype/role/test_records.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"doctype": "Role",
|
||||
"role_name": "_Test Role"
|
||||
},
|
||||
{
|
||||
"doctype": "Role",
|
||||
"role_name": "_Test Role 2"
|
||||
}
|
||||
]
|
||||
52
frappe/core/doctype/user/test_records.json
Normal file
52
frappe/core/doctype/user/test_records.json
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
[
|
||||
{
|
||||
"doctype": "User",
|
||||
"email": "test@example.com",
|
||||
"enabled": 1,
|
||||
"first_name": "_Test",
|
||||
"new_password": "testpassword",
|
||||
"user_roles": [
|
||||
{
|
||||
"doctype": "UserRole",
|
||||
"parentfield": "user_roles",
|
||||
"role": "_Test Role"
|
||||
},
|
||||
{
|
||||
"doctype": "UserRole",
|
||||
"parentfield": "user_roles",
|
||||
"role": "System Manager"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"doctype": "User",
|
||||
"email": "test1@example.com",
|
||||
"first_name": "_Test1",
|
||||
"new_password": "testpassword"
|
||||
},
|
||||
{
|
||||
"doctype": "User",
|
||||
"email": "test2@example.com",
|
||||
"first_name": "_Test2",
|
||||
"new_password": "testpassword"
|
||||
},
|
||||
{
|
||||
"doctype": "User",
|
||||
"email": "testdelete@example.com",
|
||||
"enabled": 1,
|
||||
"first_name": "_Test",
|
||||
"new_password": "testpassword",
|
||||
"user_roles": [
|
||||
{
|
||||
"doctype": "UserRole",
|
||||
"parentfield": "user_roles",
|
||||
"role": "_Test Role 2"
|
||||
},
|
||||
{
|
||||
"doctype": "UserRole",
|
||||
"parentfield": "user_roles",
|
||||
"role": "System Manager"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
1
frappe/core/doctype/workflow_state/test_records.json
Normal file
1
frappe/core/doctype/workflow_state/test_records.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
[]
|
||||
14
frappe/website/doctype/blog_category/test_records.json
Normal file
14
frappe/website/doctype/blog_category/test_records.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"category_name": "_Test Blog Category",
|
||||
"doctype": "Blog Category",
|
||||
"parent_website_route": "blog",
|
||||
"title": "_Test Blog Category"
|
||||
},
|
||||
{
|
||||
"category_name": "_Test Blog Category 1",
|
||||
"doctype": "Blog Category",
|
||||
"parent_website_route": "blog",
|
||||
"title": "_Test Blog Category 1"
|
||||
}
|
||||
]
|
||||
18
frappe/website/doctype/blog_post/test_records.json
Normal file
18
frappe/website/doctype/blog_post/test_records.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[
|
||||
{
|
||||
"blog_category": "_Test Blog Category",
|
||||
"blog_intro": "Test Blog Intro",
|
||||
"blogger": "_Test Blogger",
|
||||
"content": "Test Blog Content",
|
||||
"doctype": "Blog Post",
|
||||
"title": "_Test Blog Post"
|
||||
},
|
||||
{
|
||||
"blog_category": "_Test Blog Category 1",
|
||||
"blog_intro": "Test Blog Intro",
|
||||
"blogger": "_Test Blogger",
|
||||
"content": "Test Blog Content",
|
||||
"doctype": "Blog Post",
|
||||
"title": "_Test Blog Post 1"
|
||||
}
|
||||
]
|
||||
12
frappe/website/doctype/blogger/test_records.json
Normal file
12
frappe/website/doctype/blogger/test_records.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
{
|
||||
"doctype": "Blogger",
|
||||
"full_name": "_Test Blogger",
|
||||
"short_name": "_Test Blogger"
|
||||
},
|
||||
{
|
||||
"doctype": "Blogger",
|
||||
"full_name": "_Test Blogger 1",
|
||||
"short_name": "_Test Blogger 1"
|
||||
}
|
||||
]
|
||||
35
frappe/website/doctype/web_page/test_records.json
Normal file
35
frappe/website/doctype/web_page/test_records.json
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[
|
||||
{
|
||||
"doctype": "Web Page",
|
||||
"main_section": "Test Content 1",
|
||||
"published": 1,
|
||||
"title": "Test Web Page 1"
|
||||
},
|
||||
{
|
||||
"doctype": "Web Page",
|
||||
"main_section": "Test Content 2",
|
||||
"parent_website_route": "test-web-page-1",
|
||||
"published": 1,
|
||||
"title": "Test Web Page 2"
|
||||
},
|
||||
{
|
||||
"doctype": "Web Page",
|
||||
"main_section": "Test Content 3",
|
||||
"parent_website_route": "test-web-page-1",
|
||||
"published": 1,
|
||||
"title": "Test Web Page 3"
|
||||
},
|
||||
{
|
||||
"doctype": "Web Page",
|
||||
"main_section": "Test Content 4",
|
||||
"published": 1,
|
||||
"title": "Test Web Page 4"
|
||||
},
|
||||
{
|
||||
"doctype": "Web Page",
|
||||
"main_section": "Test Content 5",
|
||||
"parent_website_route": "test-web-page-1",
|
||||
"published": 1,
|
||||
"title": "Test Web Page 5"
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Reference in a new issue