Skip to content

Commit

Permalink
feat: move health menu under Home menu #116
Browse files Browse the repository at this point in the history
  • Loading branch information
duttarnab committed Mar 7, 2022
1 parent ae455c5 commit 94ea401
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion admin-ui/app/redux/api/HealthApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default class HealthApi {
return new Promise((resolve, reject) => {
this.api.getAuthServerHealth((error, data) => {
if (error) {
console.log(e);
reject(error)
} else {
resolve(data)
Expand Down
1 change: 1 addition & 0 deletions admin-ui/app/redux/sagas/LicenseDetailsSaga.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { getClient } from '../../redux/api/base'
import LicenseDetailsApi from '../api/LicenseDetailsApi'
const JansConfigApi = require('jans_config_api')
import { initAudit } from '../../redux/sagas/SagaUtils'
import { postUserAction } from '../../redux/api/backend-api'
import {
isFourZeroOneError,
addAdditionalData,
Expand Down
1 change: 1 addition & 0 deletions admin-ui/app/routes/License/LicenseDetailsForm.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ it('Should render the license detail page properly', () => {
render(<LicenseDetailsForm item={item} permissions={permissions} />, {
wrapper: Wrapper,
})
expect(screen.getByText(/License Valid Upto/)).toBeInTheDocument()
screen.getByText(/License Valid Upto/)
screen.getByText(/Maximum Activations/)
screen.getByText(/Is License Active/)
Expand Down

0 comments on commit 94ea401

Please sign in to comment.