-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Guillaume Keime
committed
Aug 21, 2023
1 parent
616ce22
commit d7ebdcd
Showing
38 changed files
with
672 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,23 +20,23 @@ class OrganisationsServiceMock { | |
of( | ||
'contact' in source | ||
? { | ||
...record, | ||
contact: { | ||
name: 'Main Contact', | ||
...record, | ||
contact: { | ||
name: 'Main Contact', | ||
email: '[email protected]', | ||
organisation: source.contact[0].organisation, | ||
}, | ||
resourceContacts: [ | ||
{ | ||
name: 'Resource Contact 1', | ||
email: '[email protected]', | ||
organisation: source.contact[0].organisation, | ||
}, | ||
resourceContacts: [ | ||
{ | ||
name: 'Resource Contact 1', | ||
email: '[email protected]', | ||
}, | ||
{ | ||
name: 'Resource Contact 2', | ||
email: '[email protected]', | ||
}, | ||
], | ||
} | ||
{ | ||
name: 'Resource Contact 2', | ||
email: '[email protected]', | ||
}, | ||
], | ||
} | ||
: record | ||
) | ||
) | ||
|
@@ -78,8 +78,13 @@ describe('ElasticsearchMapper', () => { | |
abstract: 'The grid is based on proposal ', | ||
id: '12456', | ||
metadataUrl: 'url', | ||
<<<<<<< HEAD | ||
thumbnailUrl: | ||
'https://sdi.eea.europa.eu/public/catalogue-graphic-overview/20e9e1a1-83c1-4f13-89ef-c19767d6ee18f.png', | ||
======= | ||
qualityScore: 25, | ||
thumbnailUrl: 'data:image/png;base64,', | ||
>>>>>>> 00e9c4b0 (fix asked by camp2camp) | ||
title: 'EEA reference grid for Germany (10km), May 2013', | ||
uuid: '20e9e1a1-83c1-4f13-89ef-c19767d6ee18f', | ||
catalogUuid: '6731be1e-6533-44e0-9b8a-580b45e36e80', | ||
|
@@ -101,6 +106,7 @@ describe('ElasticsearchMapper', () => { | |
hasDownloads: false, | ||
hasMaps: false, | ||
links: [], | ||
qualityScore: 25 | ||
}, | ||
]) | ||
}) | ||
|
@@ -432,9 +438,13 @@ describe('ElasticsearchMapper', () => { | |
], | ||
metadataUrl: 'url', | ||
ownerInfo: 'testadmin|ADMIN|Test|Administrator', | ||
qualityScore: 100, | ||
thumbnailUrl: | ||
'https://sextant.ifremer.fr/geonetwork/srv/api/records/cf5048f6-5bbf-4e44-ba74-e6f429af51ea/attachments/parametres.gif', | ||
title: 'Surval - Données par paramètre', | ||
topic: [ | ||
'Océans', | ||
], | ||
uuid: 'cf5048f6-5bbf-4e44-ba74-e6f429af51ea', | ||
contact: { | ||
name: 'Main Contact', | ||
|
@@ -516,11 +526,12 @@ describe('ElasticsearchMapper', () => { | |
'Sète', | ||
'La Rochelle', | ||
], | ||
legalConstraints: [ | ||
"Restriction légale d'utilisation à préciser", | ||
], | ||
lineage: | ||
'Les données sont bancarisées dans la base de données Quadrige.', | ||
constraints: [ | ||
'Restriction lié à l’exercice du droit moral', | ||
"Restriction légale d'utilisation à préciser", | ||
'Pas de restriction d’accès public', | ||
'Licence Ouverte version 2.0 https://www.etalab.gouv.fr/wp-content/uploads/2017/04/ETALAB-Licence-Ouverte-v2.0.pdf', | ||
], | ||
|
Oops, something went wrong.