tests: fix user name change test (fixup for 59b277ead).

This commit is contained in:
evazion
2019-08-19 00:46:30 -05:00
parent a586916cb3
commit 2b033443db

View File

@@ -37,11 +37,6 @@ class UserNameChangeRequestTest < ActiveSupport::TestCase
assert_equal("abc", @requester.name)
end
should "clear the user name cache" do
@change_request.approve!
assert_equal("abc", Cache.get("uin:#{@requester.id}"))
end
should "create feedback" do
assert_difference("UserFeedback.count", 1) do
@change_request.approve!