Sha256: f98cdd2368e18f52e67b947bc9235efa8111b022e9d1d41d8973ee2773b7a121

Contents?: true

Size: 1.13 KB

Versions: 9

Compression:

Stored size: 1.13 KB

Contents

import { noop } from 'patternfly-react';

export const accounts = {
  Account1: {
    label: 'test_org1',
    upload_report_status: 'running',
    generate_report_status: 'running',
  },
  Account2: {
    label: 'test_org2',
    upload_report_status: 'unknown',
    generate_report_status: 'failure',
  },
  Account3: {
    label: 'test_org3',
    upload_report_status: 'success',
    generate_report_status: 'running',
  },
};

export const accountIDs = Object.keys(accounts);

export const API_SUCCESS_RESPONSE = accounts;

export const pollingProcessID = 0;

export const error = 'some-error';

export const accountID = 'user@redhat.com';

export const processStatusName = 'upload_report_status';

export const autoUploadEnabled = true;

export const hostObfuscationEnabled = true;

export const filterTerm = 'some_filter';

export const cloudToken = 'some-cloud-token';

export const props = {
  accounts,
  fetchAccountsStatus: noop,
  startAccountStatusPolling: noop,
  stopAccountStatusPolling: noop,
  pollingProcessID,
};

export const fetchAccountsStatusResponse = {
  data: { accounts, autoUploadEnabled, hostObfuscationEnabled, cloudToken },
};

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
foreman_rh_cloud-0.9.12 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-1.0.12 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-2.0.12 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-0.9.11 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-1.0.11 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-2.0.11 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-0.9.10 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-1.0.10 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-2.0.10 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js