We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60fe8d3 commit defae03Copy full SHA for defae03
tests/testthat/test_liste_donnees.R
@@ -23,7 +23,7 @@ test_that("pas de valeurs incongrues", {
23
24
# lien (motif, pas existence)
25
url_pattern <- "^https://www.insee.fr/fr/statistiques/fichier/\\d{5,}/.+\\.(zip|xls|xlsx)$"
26
- api_url_pattern <- "^https://api.insee.fr/entreprises/sirene/sire[nt](/(liensSuccession|nonDiffusibles))?$"
+ api_url_pattern <- "^https://api.insee.fr/entreprises/sirene(/V3.11)?/sire[nt](/(liensSuccession|nonDiffusibles))?$"
27
expect_true(
28
all(grepl(paste0(url_pattern, "|", api_url_pattern), df_ld$lien))
29
)
0 commit comments