mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
feat: Self subscribe reports (#16027)
Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com> Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
31d79ff67c
commit
5031a67597
@@ -25,6 +25,7 @@ import EditableTitle from 'src/components/EditableTitle';
|
||||
|
||||
const saveSliceStub = jest.fn();
|
||||
const updateChartTitleStub = jest.fn();
|
||||
const fetchUISpecificReportStub = jest.fn();
|
||||
const mockProps = {
|
||||
actions: {
|
||||
saveSlice: saveSliceStub,
|
||||
@@ -42,11 +43,23 @@ const mockProps = {
|
||||
form_data: {
|
||||
viz_type: 'table',
|
||||
},
|
||||
user: {
|
||||
createdOn: '2021-04-27T18:12:38.952304',
|
||||
email: 'admin',
|
||||
firstName: 'admin',
|
||||
isActive: true,
|
||||
lastName: 'admin',
|
||||
permissions: {},
|
||||
roles: { Admin: Array(173) },
|
||||
userId: 1,
|
||||
username: 'admin',
|
||||
},
|
||||
timeout: 1000,
|
||||
chart: {
|
||||
id: 0,
|
||||
queryResponse: {},
|
||||
},
|
||||
fetchUISpecificReport: fetchUISpecificReportStub,
|
||||
chartHeight: '30px',
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user