Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/usage_quotas/storage/components/storage_usage_statistics_spec.js')
-rw-r--r--spec/frontend/usage_quotas/storage/components/storage_usage_statistics_spec.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/frontend/usage_quotas/storage/components/storage_usage_statistics_spec.js b/spec/frontend/usage_quotas/storage/components/storage_usage_statistics_spec.js
index 73d02dc273f..bb96a12aaf2 100644
--- a/spec/frontend/usage_quotas/storage/components/storage_usage_statistics_spec.js
+++ b/spec/frontend/usage_quotas/storage/components/storage_usage_statistics_spec.js
@@ -1,10 +1,11 @@
import { shallowMountExtended } from 'helpers/vue_test_utils_helper';
import StorageUsageStatistics from '~/usage_quotas/storage/components/storage_usage_statistics.vue';
import StorageUsageOverviewCard from '~/usage_quotas/storage/components/storage_usage_overview_card.vue';
+import { mockGetNamespaceStorageGraphQLResponse } from '../mock_data';
const defaultProps = {
- // hardcoding value until we move test_fixtures from ee/ to here
- usedStorage: 1234,
+ usedStorage:
+ mockGetNamespaceStorageGraphQLResponse.data.namespace.rootStorageStatistics.storageSize,
loading: false,
};