mirror of
https://github.com/apache/superset.git
synced 2026-05-09 18:05:52 +00:00
feat!: pass datasource_type and datasource_id to form_data (#19981)
* pass datasource_type and datasource_id to form_data * add datasource_type to delete command * add datasource_type to delete command * fix old keys implementation * add more tests
This commit is contained in:
committed by
GitHub
parent
a813528958
commit
32bb1ce3ff
@@ -92,7 +92,7 @@ test('generates a new form_data param when none is available', async () => {
|
||||
expect(replaceState).toHaveBeenCalledWith(
|
||||
expect.anything(),
|
||||
undefined,
|
||||
expect.stringMatching('dataset_id'),
|
||||
expect.stringMatching('datasource_id'),
|
||||
);
|
||||
replaceState.mockRestore();
|
||||
});
|
||||
@@ -109,7 +109,7 @@ test('generates a different form_data param when one is provided and is mounting
|
||||
expect(replaceState).toHaveBeenCalledWith(
|
||||
expect.anything(),
|
||||
undefined,
|
||||
expect.stringMatching('dataset_id'),
|
||||
expect.stringMatching('datasource_id'),
|
||||
);
|
||||
replaceState.mockRestore();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user