From 9567b5ec967155133a4800762888d23dfc06f32e Mon Sep 17 00:00:00 2001 From: "Michael S. Molina" Date: Sun, 20 Nov 2022 11:47:44 -0500 Subject: [PATCH] Adds filter bar orientation to mocks --- superset-frontend/spec/fixtures/mockStore.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/superset-frontend/spec/fixtures/mockStore.js b/superset-frontend/spec/fixtures/mockStore.js index 9f62f52b68249..119e19a0847d5 100644 --- a/superset-frontend/spec/fixtures/mockStore.js +++ b/superset-frontend/spec/fixtures/mockStore.js @@ -20,6 +20,7 @@ import { createStore, applyMiddleware, compose } from 'redux'; import thunk from 'redux-thunk'; import { rootReducer } from 'src/views/store'; +import { FilterBarOrientation } from 'src/dashboard/types'; import mockState from './mockState'; import { @@ -125,6 +126,9 @@ export const stateWithNativeFilters = { }, }, }, + dashboardInfo: { + filterBarOrientation: FilterBarOrientation.VERTICAL, + }, }; export const getMockStoreWithNativeFilters = () => @@ -153,6 +157,7 @@ export const stateWithoutNativeFilters = { }, dashboardInfo: { dash_edit_perm: true, + filterBarOrientation: FilterBarOrientation.VERTICAL, metadata: { native_filter_configuration: [], },