From f9fd6714a2fcccc5cf63c3d7fc49a82749a242f5 Mon Sep 17 00:00:00 2001 From: Isabelle Lafont Date: Wed, 24 Apr 2024 16:51:53 +0200 Subject: [PATCH] Add Factories --- spec/factories/authorization_requests.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spec/factories/authorization_requests.rb b/spec/factories/authorization_requests.rb index fdbdd0498..abdd57491 100644 --- a/spec/factories/authorization_requests.rb +++ b/spec/factories/authorization_requests.rb @@ -197,6 +197,12 @@ form_uid { 'portail-hubee-demarche-certdc' } end + trait :hubee_dila do + type { 'AuthorizationRequest::HubEEDila' } + form_uid { 'portail-hubee-dila' } + with_scopes + end + trait :api_entreprise do type { 'AuthorizationRequest::APIEntreprise' } form_uid { 'api-entreprise' }