73 lines
1.7 KiB
JavaScript
73 lines
1.7 KiB
JavaScript
export const simpleIssue = {
|
|
id: 442,
|
|
iid: 31,
|
|
title: 'Dismiss Cipher with no integrity',
|
|
state: 'opened',
|
|
created_at: '2019-08-26T19:06:32.667Z',
|
|
updated_at: '2019-08-28T19:53:58.314Z',
|
|
labels: [],
|
|
milestone: null,
|
|
assignees: [],
|
|
author: {
|
|
id: 3,
|
|
name: 'Elnora Bernhard',
|
|
username: 'treva.lesch',
|
|
state: 'active',
|
|
avatar_url: 'https://www.gravatar.com/avatar/a8c0d9c2882406cf2a9b71494625a796?s=80&d=identicon',
|
|
web_url: 'http://localhost:3001/treva.lesch',
|
|
},
|
|
assignee: null,
|
|
user_notes_count: 0,
|
|
merge_requests_count: 0,
|
|
upvotes: 0,
|
|
downvotes: 0,
|
|
due_date: null,
|
|
confidential: false,
|
|
web_url: 'http://localhost:3001/h5bp/html5-boilerplate/issues/31',
|
|
has_tasks: false,
|
|
weight: null,
|
|
};
|
|
|
|
export const testLabels = [
|
|
{
|
|
id: 1,
|
|
name: 'Tanuki',
|
|
description: 'A cute animal',
|
|
color: '#ff0000',
|
|
text_color: '#ffffff',
|
|
},
|
|
{
|
|
id: 2,
|
|
name: 'Octocat',
|
|
description: 'A grotesque mish-mash of whiskers and tentacles',
|
|
color: '#333333',
|
|
text_color: '#000000',
|
|
},
|
|
{
|
|
id: 3,
|
|
name: 'scoped::label',
|
|
description: 'A scoped label',
|
|
color: '#00ff00',
|
|
text_color: '#ffffff',
|
|
},
|
|
];
|
|
|
|
export const testAssignees = [
|
|
{
|
|
id: 1,
|
|
name: 'Administrator',
|
|
username: 'root',
|
|
state: 'active',
|
|
avatar_url: 'https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon',
|
|
web_url: 'http://localhost:3001/root',
|
|
},
|
|
{
|
|
id: 22,
|
|
name: 'User 0',
|
|
username: 'user0',
|
|
state: 'active',
|
|
avatar_url: 'https://www.gravatar.com/avatar/52e4ce24a915fb7e51e1ad3b57f4b00a?s=80&d=identicon',
|
|
web_url: 'http://localhost:3001/user0',
|
|
},
|
|
];
|