diff options
Diffstat (limited to 'test/integration/twofa_test.rb')
-rw-r--r-- | test/integration/twofa_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/twofa_test.rb b/test/integration/twofa_test.rb index eb24de402..b35a44575 100644 --- a/test/integration/twofa_test.rb +++ b/test/integration/twofa_test.rb @@ -56,7 +56,7 @@ class TwofaTest < Redmine::IntegrationTest user = User.find_by_login 'jsmith' assert_not user.must_activate_twofa? - group = Group.all.first + group = Group.first group.update_column :twofa_required, true group.users << user user.reload |