mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
20 lines
499 B
TypeScript
20 lines
499 B
TypeScript
import {NewInternalAppApiToken} from 'sentry/types';
|
|
|
|
export function SentryAppTokenFixture(
|
|
params: Partial<NewInternalAppApiToken> = {}
|
|
): NewInternalAppApiToken {
|
|
return {
|
|
token: '123456123456123456123456-token',
|
|
name: 'apptokenname-1',
|
|
dateCreated: '2019-03-02T18:30:26Z',
|
|
scopes: [],
|
|
refreshToken: '123456123456123456123456-refreshtoken',
|
|
expiresAt: '',
|
|
application: null,
|
|
id: '1',
|
|
state: 'active',
|
|
tokenLastCharacters: 'oken',
|
|
...params,
|
|
};
|
|
}
|