Colin Darie 2023-01-11 11:38:44 +01:00
parent 061a3e59ff
commit 820cb4bd27
2 changed files with 10 additions and 5 deletions

View file

@ -29,8 +29,15 @@
"format": "date"
},
"association_date_publication": {
"type": "string",
"format": "date"
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
]
},
"association_date_dissolution": {
"anyOf": [
@ -236,7 +243,6 @@
"required": [
"association_titre",
"association_rna",
"association_date_declaration",
"association_date_publication"
"association_date_declaration"
]
}

View file

@ -30,7 +30,6 @@ describe APIEntreprise::RNAAdapter do
expect(subject["association_titre"]).to eq('UN SUR QUATRE')
expect(subject["association_objet"]).to eq("valoriser, transmettre et partager auprès des publics les plus larges possibles, les bienfaits de l'immigration, la richesse de la diversité et la curiosité de l'autre autrement")
expect(subject["association_date_declaration"]).to eq('2014-01-24')
expect(subject["association_date_publication"]).to eq('2014-02-08')
end
end