DeletedDossier should have access to discarded demarche
This commit is contained in:
parent
e4ab2574ce
commit
bd81970f67
3 changed files with 16 additions and 1 deletions
|
@ -2,6 +2,7 @@ FactoryBot.define do
|
|||
factory :deleted_dossier do
|
||||
dossier_id { 1111 }
|
||||
state { Dossier.states.fetch(:en_construction) }
|
||||
reason { DeletedDossier.reasons.fetch(:user_request) }
|
||||
deleted_at { Time.zone.now }
|
||||
|
||||
association :procedure, :published
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue