Revert "Merge pull request #10771 from tchak/refactor-champs-revert"

This reverts commit c902061ebf, reversing
changes made to b4ed11c788.
This commit is contained in:
simon lehericey 2024-09-19 11:09:01 +02:00
parent 6b322d61ca
commit 10a1ae5534
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
35 changed files with 189 additions and 205 deletions

View file

@ -42,7 +42,6 @@ describe Champs::DossierLinkChamp, type: :model do
before do
allow(champ).to receive(:type_de_champ).and_return(build(:type_de_champ_dossier_link, mandatory:))
allow(champ).to receive(:in_dossier_revision?).and_return(true)
champ.run_callbacks(:validation)
end