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-3.0.26 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-4.0.26 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-4.0.25.1 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.25 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-4.0.25 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.24.1 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-4.0.24.1 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.24 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-4.0.24 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.23 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-4.0.23 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.22 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-4.0.22 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-4.0.21.1 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.21.1 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.21 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.20 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.19 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.18.1 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
foreman_rh_cloud-3.0.18 webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js