Sha256: 3dca3c3c3efe3b3fcfe4d2ad447e42f996dd9d09367e8b53e5b31c353e5d5f75

Contents?: true

Size: 1.07 KB

Versions: 6

Compression:

Stored size: 1.07 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 props = {
  accounts,
  fetchAccountsStatus: noop,
  startAccountStatusPolling: noop,
  stopAccountStatusPolling: noop,
  pollingProcessID,
};

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_rh_cloud-2.0.9 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-1.0.9 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-0.9.9 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-0.9.8 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-1.0.8 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-2.0.8 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js