mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
31 lines
631 B
TypeScript
31 lines
631 B
TypeScript
import {OrganizationFixture} from 'sentry-fixture/organization';
|
|
|
|
import {Organization} from 'sentry/types';
|
|
|
|
export function OrganizationsFixture(params: Partial<Organization> = {}): Organization[] {
|
|
return [
|
|
OrganizationFixture({
|
|
id: '1',
|
|
name: 'test 1',
|
|
slug: 'test 1',
|
|
require2FA: false,
|
|
status: {
|
|
id: 'active',
|
|
name: 'active',
|
|
},
|
|
...params,
|
|
}),
|
|
OrganizationFixture({
|
|
id: '2',
|
|
name: 'test 2',
|
|
slug: 'test 2',
|
|
require2FA: false,
|
|
status: {
|
|
id: 'active',
|
|
name: 'active',
|
|
},
|
|
...params,
|
|
}),
|
|
];
|
|
}
|