Sha256: 5da8ba6807a63087deeaa6ab700e6a489ee9cd892d6fede7f9b56bc28ade3cca

Contents?: true

Size: 1.31 KB

Versions: 17

Compression:

Stored size: 1.31 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 ipsObfuscationEnabled = true;

export const filterTerm = 'some_filter';

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

export const excludePackages = false;

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

export const pollingResponse = {
  accounts,
  autoUploadEnabled,
  hostObfuscationEnabled,
  ipsObfuscationEnabled,
  cloudToken,
  excludePackages,
};

export const fetchAccountsStatusResponse = {
  data: pollingResponse,
};

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
foreman_rh_cloud-1.0.17 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-2.0.17 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-2.0.16 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-1.0.16 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-1.0.15 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-2.0.15 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.15 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.14 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-2.0.14 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-1.0.14 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-0.9.14 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-0.9.13.1 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-1.0.13.1 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-2.0.13.1 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-0.9.13 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-1.0.13 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-2.0.13 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js