1234567891011121314151617181920212223242526272829303132 |
- import {Organization} from 'sentry-fixture/organization';
- import {Organization as OrganizationType} from 'sentry/types';
- export function Organizations(
- params: Partial<OrganizationType> = {}
- ): OrganizationType[] {
- return [
- Organization({
- id: '1',
- name: 'test 1',
- slug: 'test 1',
- require2FA: false,
- status: {
- id: 'active',
- name: 'active',
- },
- ...params,
- }),
- Organization({
- id: '2',
- name: 'test 2',
- slug: 'test 2',
- require2FA: false,
- status: {
- id: 'active',
- name: 'active',
- },
- ...params,
- }),
- ];
- }
|