Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-bellenghi committed Sep 3, 2024
1 parent a8adb38 commit 4e35bea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/design/plone/contenttypes/tests/test_ct_persona.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,14 @@ def test_persona_fields_documenti_fieldset(self):
Get the list from restapi
"""
resp = self.api_session.get("@types/Persona").json()
self.assertEqual(resp["fieldsets"][3]["fields"], ["curriculum_vitae"])
self.assertEqual(
resp["fieldsets"][3]["fields"],
[
"curriculum_vitae",
"emolumenti_a_carico_della_finanza_pubblica",
"dichiarazioni_di_insussistenza_e_incompatibilita",
],
)

def test_persona_fields_informazioni_fieldset(self):
"""
Expand Down

0 comments on commit 4e35bea

Please sign in to comment.