Merge pull request #6653 from adityahase/fix-travis-test-report
fix(test): Add accidentally removed lines
This commit is contained in:
commit
1ae86ff43f
1 changed files with 2 additions and 0 deletions
|
|
@ -61,6 +61,8 @@ class TestReport(unittest.TestCase):
|
|||
with open(os.path.join(os.path.dirname(__file__), 'user_activity_report_without_sort.json'), 'r') as f:
|
||||
frappe.get_doc(json.loads(f.read())).insert()
|
||||
|
||||
report = frappe.get_doc('Report', 'User Activity Report Without Sort')
|
||||
# this would raise an error without the fix added along with this test case
|
||||
columns, data = report.get_data()
|
||||
|
||||
self.assertEqual(columns[0].get('label'), 'ID')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue