chore: Use availability in dashboard presence toggle (#3212)

This commit is contained in:
Sojan Jose 2021-10-15 00:30:48 +05:30 committed by GitHub
parent ed25435ac2
commit cebd34053b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 22 additions and 19 deletions

View file

@ -17,7 +17,7 @@ const i18nConfig = new VueI18n({
});
describe('AvailabilityStatus', () => {
const currentAvailabilityStatus = 'online' ;
const currentAvailability = 'online';
const currentAccountId = '1';
let store = null;
let actions = null;
@ -34,7 +34,7 @@ describe('AvailabilityStatus', () => {
modules = {
auth: {
getters: {
getCurrentUserAvailabilityStatus: () => currentAvailabilityStatus,
getCurrentUserAvailability: () => currentAvailability,
getCurrentAccountId: () => currentAccountId,
},
},