Skip to content

Commit

Permalink
chore: e2e snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierJp committed Sep 17, 2024
1 parent 8620743 commit 8f796e6
Show file tree
Hide file tree
Showing 23 changed files with 177 additions and 194 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"denomination": "",
"nic": "00015",
"dateCreation": "2018-05-06",
"dateDerniereMiseAJour": "2024-08-21T14:06:59.440Z",
"dateDerniereMiseAJour": "2024-09-17T13:08:36.970Z",
"dateMiseAJourInsee": "2024-03-30T08:06:53.621",
"dateDebutActivite": "",
"dateFermeture": "2020-09-01",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"denomination": "",
"nic": "00010",
"dateCreation": "2022-01-01",
"dateDerniereMiseAJour": "2024-08-21T14:06:59.405Z",
"dateDerniereMiseAJour": "2024-09-17T13:08:36.906Z",
"dateMiseAJourInsee": "2024-03-29T23:18:52.426",
"dateDebutActivite": "",
"dateFermeture": null,
Expand Down
27 changes: 11 additions & 16 deletions clients/_test/clientRNEImmatriculation/_snapshots/protected.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
"908595879"
],
"result": {
"siren": "908595879",
"identite": {
"denomination": "SEVERNAYA",
"observations": [],
"immatriculation": {
"natureEntreprise": [
"Commerciale"
],
"dateImmatriculation": "2021-12-27",
"dateDebutActiv": "2022-01-01",
"dateDebutActivite": "2022-01-01",
"dateRadiation": "",
"dateCessationActivite": "",
"dateFin": "27/12/2120",
"isPersonneMorale": true,
"dateClotureExercice": "3112",
"dureePersonneMorale": 99,
"capital": "1 000 EUR (fixe)",
"libelleNatureJuridique": "SAS, société par actions simplifiée",
"natureEntreprise": "Commerciale"
"dateCloture": "3112",
"duree": 99,
"capital": "1 000 EUR (fixe)"
},
"dirigeants": [
{
Expand All @@ -25,11 +25,6 @@
"dateNaissancePartial": "1985-12",
"dateNaissanceFull": ""
}
],
"beneficiaires": [],
"observations": [],
"metadata": {
"isFallback": false
}
]
}
}
61 changes: 29 additions & 32 deletions clients/_test/clientRNEImmatriculation/_snapshots/rge.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,6 @@
"487444697"
],
"result": {
"siren": "487444697",
"identite": {
"dateImmatriculation": null,
"dateDebutActiv": "2005-12-06",
"dateRadiation": null,
"dateCessationActivite": null,
"denomination": "ESSOR ENERGIES",
"dureePersonneMorale": null,
"dateClotureExercice": "3112",
"capital": "2099975 EUR",
"isPersonneMorale": true,
"libelleNatureJuridique": "SARL, Société à responsabilité limitée (sans autre indication)",
"natureEntreprise": "Commerciale, Artisanale, Gestion de biens"
},
"dirigeants": [
{
"nom": "POUYANNE",
"prenom": "DAVID, JEAN-CLAUDE",
"role": "Gérant",
"dateNaissancePartial": "1965-10"
},
{
"nom": "POUYANNE (POUYANNE)",
"prenom": "DAVID, JEAN, CLAUDE",
"role": "Gérant",
"dateNaissancePartial": "1965-10"
}
],
"beneficiaires": [],
"observations": [
{
"numObservation": "F24/001909",
Expand Down Expand Up @@ -59,8 +30,34 @@
"description": "Radiation du RCS de Bordeaux le 07/03/2023"
}
],
"metadata": {
"isFallback": true
}
"immatriculation": {
"natureEntreprise": [
"Commerciale",
"Artisanale",
"Gestion de biens"
],
"dateImmatriculation": null,
"dateDebutActivite": "2005-12-06",
"dateRadiation": null,
"dateFin": "",
"isPersonneMorale": true,
"dateCloture": "3112",
"duree": null,
"capital": "2099975 EUR"
},
"dirigeants": [
{
"nom": "POUYANNE",
"prenom": "DAVID, JEAN-CLAUDE",
"role": "Gérant",
"dateNaissancePartial": "1965-10"
},
{
"nom": "POUYANNE (POUYANNE)",
"prenom": "DAVID, JEAN, CLAUDE",
"role": "Gérant",
"dateNaissancePartial": "1965-10"
}
]
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"args": {
"page": 1,
"pageResultatsRecherche": 1,
"searchTerms": "ganymede",
"searchFilterParams": "&ca_min=100&resultat_net_max=100000"
},
Expand Down Expand Up @@ -189,6 +189,7 @@
"listeIdcc": [
"0478"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "414971929",
Expand Down Expand Up @@ -313,6 +314,7 @@
"prenom": "Charles",
"prenoms": "Charles",
"role": "Directeur Général",
"nationalite": "Française",
"dateNaissancePartial": "1944-05",
"lieuNaissance": ""
},
Expand All @@ -322,6 +324,7 @@
"prenom": "Olivier",
"prenoms": "Olivier",
"role": "Commissaire aux comptes suppléant",
"nationalite": "Française",
"dateNaissancePartial": "1971-11",
"lieuNaissance": ""
},
Expand Down Expand Up @@ -509,6 +512,7 @@
"codeColter": null
},
"listeIdcc": [],
"immatriculation": null,
"matchingEtablissements": [],
"nombreEtablissements": 1,
"nombreEtablissementsOuverts": 1,
Expand All @@ -519,6 +523,7 @@
"prenom": "Franck",
"prenoms": "Franck",
"role": "Gérant",
"nationalite": "Française",
"dateNaissancePartial": "1952-06",
"lieuNaissance": ""
}
Expand Down Expand Up @@ -696,6 +701,7 @@
"codeColter": null
},
"listeIdcc": [],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "491470597",
Expand Down Expand Up @@ -744,6 +750,7 @@
"prenom": "Dominique",
"prenoms": "Dominique",
"role": "Gérant",
"nationalite": "Française",
"dateNaissancePartial": "1964-10",
"lieuNaissance": ""
}
Expand Down Expand Up @@ -933,6 +940,7 @@
"1596",
"2609"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "800069130",
Expand Down Expand Up @@ -984,6 +992,7 @@
"prenom": "Suat",
"prenoms": "Suat",
"role": "Gérant",
"nationalite": "Turque",
"dateNaissancePartial": "1980-08",
"lieuNaissance": ""
}
Expand Down Expand Up @@ -1169,6 +1178,7 @@
"listeIdcc": [
"1527"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "852504034",
Expand Down Expand Up @@ -1219,6 +1229,7 @@
"prenom": "Eric",
"prenoms": "Eric",
"role": "Président de SAS",
"nationalite": "Française",
"dateNaissancePartial": "1947-09",
"lieuNaissance": ""
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"args": {
"page": 1,
"pageResultatsRecherche": 1,
"searchTerms": "",
"searchFilterParams": "&est_rge=true&est_collectivite_territoriale=true"
},
Expand Down Expand Up @@ -776,6 +776,7 @@
"2149",
"5021"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "200036473",
Expand Down Expand Up @@ -1575,6 +1576,7 @@
"5021",
"9999"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "226300010",
Expand Down Expand Up @@ -2296,6 +2298,7 @@
"listeIdcc": [
"5021"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "223100017",
Expand Down Expand Up @@ -3688,6 +3691,7 @@
"9999",
"5021"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "200035715",
Expand Down Expand Up @@ -4538,6 +4542,7 @@
"1486",
"5021"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "200071827",
Expand Down Expand Up @@ -5243,6 +5248,7 @@
"listeIdcc": [
"5021"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "200069383",
Expand Down Expand Up @@ -5810,6 +5816,7 @@
"listeIdcc": [
"9999"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "244400503",
Expand Down Expand Up @@ -6320,6 +6327,7 @@
"9999",
"5021"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "241700624",
Expand Down Expand Up @@ -7052,6 +7060,7 @@
"listeIdcc": [
"5021"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "243400769",
Expand Down Expand Up @@ -7685,6 +7694,7 @@
"listeIdcc": [
"5021"
],
"immatriculation": null,
"matchingEtablissements": [
{
"siren": "200018406",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"args": {
"page": 1,
"pageResultatsRecherche": 1,
"searchTerms": "130025265",
"searchFilterParams": ""
},
Expand Down Expand Up @@ -181,6 +181,7 @@
"codeColter": null
},
"listeIdcc": [],
"immatriculation": null,
"matchingEtablissements": [],
"nombreEtablissements": 1,
"nombreEtablissementsOuverts": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"args": {
"page": 1,
"pageResultatsRecherche": 1,
"searchTerms": "198100125",
"searchFilterParams": ""
},
Expand Down Expand Up @@ -195,6 +195,7 @@
"listeIdcc": [
"9999"
],
"immatriculation": null,
"matchingEtablissements": [],
"nombreEtablissements": 1,
"nombreEtablissementsOuverts": 1,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"args": {
"page": 1,
"pageResultatsRecherche": 1,
"searchTerms": "217500016",
"searchFilterParams": ""
},
Expand Down Expand Up @@ -1682,6 +1682,7 @@
"1043",
"9999"
],
"immatriculation": null,
"matchingEtablissements": [],
"nombreEtablissements": 3012,
"nombreEtablissementsOuverts": 2904,
Expand Down
Loading

0 comments on commit 8f796e6

Please sign in to comment.