summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/AppHeader.spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/AppHeader.spec.js b/tests/unit/AppHeader.spec.js
index 1a4075f4..9135c007 100644
--- a/tests/unit/AppHeader.spec.js
+++ b/tests/unit/AppHeader.spec.js
@@ -10,7 +10,7 @@ localVue.use(Vuex);
describe('AppHeader.vue', () => {
const actions = {
- 'global/getHostStatus': jest.fn(),
+ 'global/getServerStatus': jest.fn(),
'eventLog/getEventLogData': jest.fn(),
'authentication/resetStoreState': jest.fn(),
};
@@ -65,8 +65,8 @@ describe('AppHeader.vue', () => {
});
describe('Created lifecycle hook', () => {
- it('getHostInfo should dispatch global/getHostStatus', () => {
- wrapper.vm.getHostInfo();
+ it('getServerInfo should dispatch global/getServerStatus', () => {
+ wrapper.vm.getServerInfo();
expect(store.dispatch).toHaveBeenCalledTimes(1);
});