test: mandatory field
This commit is contained in:
parent
f3af0c582c
commit
3ab0e8756f
1 changed files with 2 additions and 1 deletions
|
|
@ -514,9 +514,10 @@ class TestQuery(IntegrationTestCase):
|
|||
"doctype": "Blog Post",
|
||||
"title": "Test Permission Post",
|
||||
"content": "Test Content",
|
||||
"blog_category": "-test-blog-category",
|
||||
"published": 1,
|
||||
}
|
||||
).insert(ignore_permissions=True)
|
||||
).insert(ignore_permissions=True, ignore_mandatory=True)
|
||||
|
||||
# Without proper permission, published field should be filtered out
|
||||
data = frappe.qb.get_query(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue