mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
[sql_json] Ensuring the request body is JSON encoded (#8256)
This commit is contained in:
@@ -114,7 +114,7 @@ describe('async actions', () => {
|
||||
});
|
||||
|
||||
describe('runQuery', () => {
|
||||
const runQueryEndpoint = 'glob:*/superset/sql_json/*';
|
||||
const runQueryEndpoint = 'glob:*/superset/sql_json/';
|
||||
fetchMock.post(runQueryEndpoint, '{ "data": ' + mockBigNumber + ' }');
|
||||
|
||||
const makeRequest = () => {
|
||||
|
||||
Reference in New Issue
Block a user