Skip to content

Commit

Permalink
Fix copy-paste mishap in test setup
Browse files Browse the repository at this point in the history
It's testing the wrong thing
  • Loading branch information
mike29736 committed Sep 22, 2023
1 parent 8c5ddc6 commit 42f9a64
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 42f9a64

Please sign in to comment.