Sha256: 0895e9a31c92a1439a6478d84522f8a5ea2307b858c69b712b5c1a5ac4ec62ba

Contents?: true

Size: 1.06 KB

Versions: 80

Compression:

Stored size: 1.06 KB

Contents

import { noop } from 'foremanReact/common/helpers';

export const accounts = {
  Account1: {
    id: 1,
    upload_report_status: 'running',
    generate_report_status: 'running',
  },
  Account2: {
    id: 2,
    upload_report_status: 'unknown',
    generate_report_status: 'failure',
  },
  Account3: {
    id: 3,
    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 filterTerm = 'some_filter';

export const CloudConnectorStatus = {
  id: 7,
  task: { id: 11 },
};

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

export const pollingResponse = {
  accounts,
  CloudConnectorStatus,
};

export const fetchAccountsStatusResponse = {
  data: pollingResponse,
};

Version data entries

80 entries across 80 versions & 1 rubygems

Version Path
foreman_rh_cloud-9.0.59 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-11.0.2 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-11.0.1 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-11.0.0 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-9.0.58 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-10.0.2 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-9.0.57 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-10.0.1 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-9.0.56 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-9.0.55 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-9.0.54 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-9.0.53 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-9.0.52 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-8.0.52 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-9.0.51 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-8.0.51 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-7.0.48 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-7.0.47 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-8.0.50 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-8.0.49 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js