2017-05-05 14:23:31 -04:00
|
|
|
export default {
|
|
|
|
createNumberRandomUsers(numberUsers) {
|
|
|
|
const users = [];
|
2018-06-14 02:18:05 -04:00
|
|
|
for (let i = 0; i < numberUsers; i += 1) {
|
2018-10-17 03:13:26 -04:00
|
|
|
users.push({
|
|
|
|
avatar: 'https://gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80&d=identicon',
|
|
|
|
id: i + 1,
|
|
|
|
name: `GitLab User ${i}`,
|
|
|
|
username: `gitlab${i}`,
|
|
|
|
});
|
2017-05-05 14:23:31 -04:00
|
|
|
}
|
|
|
|
return users;
|
|
|
|
},
|
|
|
|
};
|