fix tests that now requir an admin user to have a strong password
This commit is contained in:
parent
d8b4cc67be
commit
2b23eefee2
4 changed files with 7 additions and 3 deletions
|
@ -36,7 +36,7 @@ describe AdministrateurUsageStatisticsService do
|
|||
context 'for an administrateur that has plenty of things' do
|
||||
let(:administrateur) do
|
||||
create(:administrateur,
|
||||
user: create(:user, sign_in_count: 17, current_sign_in_at: Time.zone.local(2019, 3, 7), last_sign_in_at: Time.zone.local(2019, 2, 27)),
|
||||
user: create(:user, :with_strong_password, sign_in_count: 17, current_sign_in_at: Time.zone.local(2019, 3, 7), last_sign_in_at: Time.zone.local(2019, 2, 27)),
|
||||
services: [create(:service)],
|
||||
instructeurs: [create(:instructeur)])
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue