Skip to content

Commit 94ea401

Browse files
committed
feat: move health menu under Home menu #116
1 parent ae455c5 commit 94ea401

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

admin-ui/app/redux/api/HealthApi.js

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export default class HealthApi {
77
return new Promise((resolve, reject) => {
88
this.api.getAuthServerHealth((error, data) => {
99
if (error) {
10-
console.log(e);
1110
reject(error)
1211
} else {
1312
resolve(data)

admin-ui/app/redux/sagas/LicenseDetailsSaga.js

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { getClient } from '../../redux/api/base'
88
import LicenseDetailsApi from '../api/LicenseDetailsApi'
99
const JansConfigApi = require('jans_config_api')
1010
import { initAudit } from '../../redux/sagas/SagaUtils'
11+
import { postUserAction } from '../../redux/api/backend-api'
1112
import {
1213
isFourZeroOneError,
1314
addAdditionalData,

admin-ui/app/routes/License/LicenseDetailsForm.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ it('Should render the license detail page properly', () => {
1818
render(<LicenseDetailsForm item={item} permissions={permissions} />, {
1919
wrapper: Wrapper,
2020
})
21+
expect(screen.getByText(/License Valid Upto/)).toBeInTheDocument()
2122
screen.getByText(/License Valid Upto/)
2223
screen.getByText(/Maximum Activations/)
2324
screen.getByText(/Is License Active/)

0 commit comments

Comments
 (0)