Commit f1ab2925 authored by Ammar Alakkad's avatar Ammar Alakkad Committed by Vitaly Slobodin

Update seat_usage references

Changelog: other
EE: true
parent 4b7be85b
import $ from 'jquery';
import SeatUsageApp from 'ee/seat_usage';
import SeatUsageApp from 'ee/usage_quotas/seats';
import initNamespaceStorage from 'ee/usage_quotas/storage/init_namespace_storage';
import LinkedTabs from '~/lib/utils/bootstrap_linked_tabs';
......
......@@ -12,7 +12,7 @@ import {
GlLoadingIcon,
} from '@gitlab/ui';
import { sprintf } from '~/locale';
import { AVATAR_SIZE } from 'ee/seat_usage/constants';
import { AVATAR_SIZE } from 'ee/usage_quotas/seats/constants';
import {
AWAITING_MEMBER_SIGNUP_TEXT,
LABEL_APPROVE,
......
......@@ -10,7 +10,7 @@ import { mapActions, mapState } from 'vuex';
import {
REMOVE_BILLABLE_MEMBER_MODAL_ID,
REMOVE_BILLABLE_MEMBER_MODAL_CONTENT_TEXT_TEMPLATE,
} from 'ee/seat_usage/constants';
} from 'ee/usage_quotas/seats/constants';
import csrf from '~/lib/utils/csrf';
import { __, s__, sprintf } from '~/locale';
......
......@@ -22,7 +22,7 @@ import {
CANNOT_REMOVE_BILLABLE_MEMBER_MODAL_TITLE,
CANNOT_REMOVE_BILLABLE_MEMBER_MODAL_CONTENT,
SORT_OPTIONS,
} from 'ee/seat_usage/constants';
} from 'ee/usage_quotas/seats/constants';
import { s__, __, sprintf, n__ } from '~/locale';
import FilterSortContainerRoot from '~/vue_shared/components/filtered_search_bar/filtered_search_bar_root.vue';
import RemoveBillableMemberModal from './remove_billable_member_modal.vue';
......
......@@ -3,7 +3,7 @@ import {
HEADER_TOTAL_ENTRIES,
HEADER_PAGE_NUMBER,
HEADER_ITEMS_PER_PAGE,
} from 'ee/seat_usage/constants';
} from 'ee/usage_quotas/seats/constants';
import * as types from './mutation_types';
export default {
......
......@@ -2,7 +2,7 @@ import { GlSprintf } from '@gitlab/ui';
import { shallowMount } from '@vue/test-utils';
import Vue, { nextTick } from 'vue';
import Vuex from 'vuex';
import RemoveBillableMemberModal from 'ee/seat_usage/components/remove_billable_member_modal.vue';
import RemoveBillableMemberModal from 'ee/usage_quotas/seats/components/remove_billable_member_modal.vue';
Vue.use(Vuex);
......
......@@ -3,11 +3,11 @@ import { shallowMount } from '@vue/test-utils';
import Vue from 'vue';
import Vuex from 'vuex';
import Api from 'ee/api';
import SubscriptionSeatDetails from 'ee/seat_usage/components/subscription_seat_details.vue';
import SubscriptionSeatDetailsLoader from 'ee/seat_usage/components/subscription_seat_details_loader.vue';
import createStore from 'ee/seat_usage/store';
import initState from 'ee/seat_usage/store/state';
import { mockMemberDetails } from 'ee_jest/seat_usage/mock_data';
import SubscriptionSeatDetails from 'ee/usage_quotas/seats/components/subscription_seat_details.vue';
import SubscriptionSeatDetailsLoader from 'ee/usage_quotas/seats/components/subscription_seat_details_loader.vue';
import createStore from 'ee/usage_quotas/seats/store';
import initState from 'ee/usage_quotas/seats/store/state';
import { mockMemberDetails } from 'ee_jest/usage_quotas/seats/mock_data';
import { stubComponent } from 'helpers/stub_component';
Vue.use(Vuex);
......
......@@ -11,9 +11,9 @@ import {
import { mount, shallowMount } from '@vue/test-utils';
import Vue from 'vue';
import Vuex from 'vuex';
import SubscriptionSeats from 'ee/seat_usage/components/subscription_seats.vue';
import { CANNOT_REMOVE_BILLABLE_MEMBER_MODAL_CONTENT } from 'ee/seat_usage/constants';
import { mockDataSeats, mockTableItems } from 'ee_jest/seat_usage/mock_data';
import SubscriptionSeats from 'ee/usage_quotas/seats/components/subscription_seats.vue';
import { CANNOT_REMOVE_BILLABLE_MEMBER_MODAL_CONTENT } from 'ee/usage_quotas/seats/constants';
import { mockDataSeats, mockTableItems } from 'ee_jest/usage_quotas/seats/mock_data';
import { extendedWrapper } from 'helpers/vue_test_utils_helper';
import FilterSortContainerRoot from '~/vue_shared/components/filtered_search_bar/filtered_search_bar_root.vue';
......
......@@ -2,7 +2,7 @@ import {
HEADER_TOTAL_ENTRIES,
HEADER_PAGE_NUMBER,
HEADER_ITEMS_PER_PAGE,
} from 'ee/seat_usage/constants';
} from 'ee/usage_quotas/seats/constants';
export const mockDataSeats = {
data: [
......
import MockAdapter from 'axios-mock-adapter';
import * as GroupsApi from 'ee/api/groups_api';
import * as actions from 'ee/seat_usage/store/actions';
import * as types from 'ee/seat_usage/store/mutation_types';
import State from 'ee/seat_usage/store/state';
import { mockDataSeats, mockMemberDetails } from 'ee_jest/seat_usage/mock_data';
import * as actions from 'ee/usage_quotas/seats/store/actions';
import * as types from 'ee/usage_quotas/seats/store/mutation_types';
import State from 'ee/usage_quotas/seats/store/state';
import { mockDataSeats, mockMemberDetails } from 'ee_jest/usage_quotas/seats/mock_data';
import testAction from 'helpers/vuex_action_helper';
import createFlash, { FLASH_TYPES } from '~/flash';
import axios from '~/lib/utils/axios_utils';
......
import * as getters from 'ee/seat_usage/store/getters';
import State from 'ee/seat_usage/store/state';
import { mockDataSeats, mockTableItems, mockMemberDetails } from 'ee_jest/seat_usage/mock_data';
import * as getters from 'ee/usage_quotas/seats/store/getters';
import State from 'ee/usage_quotas/seats/store/state';
import {
mockDataSeats,
mockTableItems,
mockMemberDetails,
} from 'ee_jest/usage_quotas/seats/mock_data';
describe('Seat usage table getters', () => {
let state;
......
import * as types from 'ee/seat_usage/store/mutation_types';
import mutations from 'ee/seat_usage/store/mutations';
import createState from 'ee/seat_usage/store/state';
import { mockDataSeats, mockMemberDetails } from 'ee_jest/seat_usage/mock_data';
import * as types from 'ee/usage_quotas/seats/store/mutation_types';
import mutations from 'ee/usage_quotas/seats/store/mutations';
import createState from 'ee/usage_quotas/seats/store/state';
import { mockDataSeats, mockMemberDetails } from 'ee_jest/usage_quotas/seats/mock_data';
describe('EE seats module mutations', () => {
let state;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment