mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fixing the datasource inconsistence but in visualize flow (#3698)
datasource in landing explore view is not the datasource created in sal lab.
This commit is contained in:
@@ -340,6 +340,8 @@ describe('VisualizeModal', () => {
|
||||
wrapper.setProps({ actions: { createDatasource: datasourceSpy } });
|
||||
|
||||
wrapper.instance().visualize();
|
||||
expect(exploreUtils.getExploreUrl.callCount).to.equal(1);
|
||||
expect(exploreUtils.getExploreUrl.getCall(0).args[0].datasource).to.equal('107__table');
|
||||
expect(window.open.callCount).to.equal(1);
|
||||
});
|
||||
it('should notify error', () => {
|
||||
|
||||
Reference in New Issue
Block a user