Commit de1c1b9f authored by Martin Wortschack's avatar Martin Wortschack

Merge branch 'fe-fix-packages-mock-data' into 'master'

Set dates in packages mock_data

Closes #196783

See merge request gitlab-org/gitlab!23005
parents e830341c 4c2c662c
export const mavenPackage = { export const mavenPackage = {
created_at: '', created_at: '2015-12-10',
id: 1, id: 1,
maven_metadatum: { maven_metadatum: {
app_group: 'com.test.app', app_group: 'com.test.app',
...@@ -9,20 +9,20 @@ export const mavenPackage = { ...@@ -9,20 +9,20 @@ export const mavenPackage = {
name: 'Test package', name: 'Test package',
package_type: 'maven', package_type: 'maven',
project_id: 1, project_id: 1,
updated_at: '', updated_at: '2015-12-10',
version: '1.0.0', version: '1.0.0',
}; };
export const mavenFiles = [ export const mavenFiles = [
{ {
created_at: '', created_at: '2015-12-10',
file_name: 'File one', file_name: 'File one',
id: 1, id: 1,
size: 100, size: 100,
download_path: '/-/package_files/1/download', download_path: '/-/package_files/1/download',
}, },
{ {
created_at: '', created_at: '2015-12-10',
file_name: 'File two', file_name: 'File two',
id: 2, id: 2,
size: 200, size: 200,
...@@ -31,18 +31,18 @@ export const mavenFiles = [ ...@@ -31,18 +31,18 @@ export const mavenFiles = [
]; ];
export const npmPackage = { export const npmPackage = {
created_at: '', created_at: '2015-12-10',
id: 2, id: 2,
name: '@Test/package', name: '@Test/package',
package_type: 'npm', package_type: 'npm',
project_id: 1, project_id: 1,
updated_at: '', updated_at: '2015-12-10',
version: '', version: '',
}; };
export const npmFiles = [ export const npmFiles = [
{ {
created_at: '', created_at: '2015-12-10',
file_name: '@test/test-package-1.0.0.tgz', file_name: '@test/test-package-1.0.0.tgz',
id: 2, id: 2,
size: 200, size: 200,
...@@ -55,14 +55,14 @@ export const conanPackage = { ...@@ -55,14 +55,14 @@ export const conanPackage = {
package_channel: 'stable', package_channel: 'stable',
package_username: 'conan+conan-package', package_username: 'conan+conan-package',
}, },
created_at: '', created_at: '2015-12-10',
id: 3, id: 3,
name: 'conan-package', name: 'conan-package',
package_files: [], package_files: [],
package_type: 'conan', package_type: 'conan',
project_id: 1, project_id: 1,
recipe: 'conan-package/1.0.0@conan+conan-package/stable', recipe: 'conan-package/1.0.0@conan+conan-package/stable',
updated_at: '', updated_at: '2015-12-10',
version: '1.0.0', version: '1.0.0',
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment