Skip to content

Commit

Permalink
Merge pull request #2372 from alphagov/fix-copy-paste-mishap
Browse files Browse the repository at this point in the history
Fix copy-paste mishap in test setup
  • Loading branch information
mike29736 authored Sep 25, 2023
2 parents 8c5ddc6 + 42f9a64 commit 15ca127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/models/user_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def setup
end

should "not allow user to be updated with a known non-government email address" do
user = create(:batch_invitation_user, email: "alexia.statham@department.gov.uk")
user = create(:user, email: "alexia.statham@department.gov.uk")

user.email = "alexia.statham@yahoo.co.uk"

Expand Down

0 comments on commit 15ca127

Please sign in to comment.