[sql_json] Ensuring the request body is JSON encoded (#8256)

This commit is contained in:
John Bodley
2019-09-23 09:09:12 -07:00
committed by GitHub
parent f3065a763f
commit 5d1bf4245d
6 changed files with 36 additions and 30 deletions

View File

@@ -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 = () => {