Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida committed Feb 2, 2021
1 parent 4317a8f commit 150b55e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions superset-frontend/spec/javascripts/sqllab/SqlEditor_spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ import ConnectedSouthPane from 'src/SqlLab/components/SouthPane';
import SqlEditor from 'src/SqlLab/components/SqlEditor';
import SqlEditorLeftBar from 'src/SqlLab/components/SqlEditorLeftBar';
import { Dropdown } from 'src/common/components';
import { queryEditorSetSelectedText } from 'src/SqlLab/actions/sqlLab';
import {
queryEditorSetFunctionNames,
queryEditorSetSelectedText,
} from 'src/SqlLab/actions/sqlLab';

import { initialState, queries, table } from './fixtures';

Expand All @@ -45,7 +48,7 @@ const store = mockStore(initialState);

describe('SqlEditor', () => {
const mockedProps = {
actions: { queryEditorSetSelectedText },
actions: { queryEditorSetFunctionNames, queryEditorSetSelectedText },
database: {},
queryEditorId: initialState.sqlLab.queryEditors[0].id,
latestQuery: queries[0],
Expand Down

0 comments on commit 150b55e

Please sign in to comment.