Skip to content

Commit

Permalink
fix(admin-ui): write test for all pages under auth-server plugin #301
Browse files Browse the repository at this point in the history
  • Loading branch information
syntrydy committed Nov 11, 2021
1 parent 3cefa36 commit bd2a35b
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@ import React from 'react'
import { render, screen, waitFor } from '@testing-library/react'
import ConfigPage from './ConfigPage'
import { combineReducers } from 'redux'
import { BrowserRouter as Router } from 'react-router-dom'
import { createStore } from 'redux'
import { Provider } from 'react-redux'
import i18n from '../../../../app/i18n'
import { I18nextProvider } from 'react-i18next'
import authReducer from '../../../../app/redux/reducers/AuthReducer'
import oidcDiscoveryReducer from '../../../../app/redux/reducers/OidcDiscoveryReducer'
import jsonConfigReducer from '../../redux/reducers/JsonConfigReducer'
import scopeReducer from '../../redux/reducers/ScopeReducer'

const config = {
issuer: 'https://admin-ui-test.gluu.org',
Expand Down Expand Up @@ -155,7 +152,6 @@ const INIT_STATE = {
const store = createStore(
combineReducers({
authReducer: (state = INIT_STATE) => state,
oidcDiscoveryReducer,
jsonConfigReducer: (state = CONFIG_STATE) => state,
noReducer: (state = {}) => state,
}),
Expand Down

0 comments on commit bd2a35b

Please sign in to comment.