test: remove alias/implication update_notice references.

Fixup for d5a7fafca.
This commit is contained in:
evazion
2020-04-28 00:47:39 -05:00
parent 7324f53752
commit 8c652307a6
2 changed files with 0 additions and 22 deletions

View File

@@ -57,17 +57,6 @@ class TagAliasTest < ActiveSupport::TestCase
end
end
context "#update_notice" do
setup do
@forum_topic = FactoryBot.create(:forum_topic)
end
should "update the cache" do
FactoryBot.create(:tag_alias, antecedent_name: "aaa", consequent_name: "bbb", skip_secondary_validations: true, forum_topic: @forum_topic)
assert_equal(@forum_topic.id, Cache.get("tcn:aaa"))
end
end
context "#reject!" do
should "not be blocked by validations" do
ta1 = create(:tag_alias, antecedent_name: "kitty", consequent_name: "kitten", status: "active")

View File

@@ -53,17 +53,6 @@ class TagImplicationTest < ActiveSupport::TestCase
end
end
context "#update_notice" do
setup do
@forum_topic = FactoryBot.create(:forum_topic)
end
should "update the cache" do
FactoryBot.create(:tag_implication, antecedent_name: "aaa", consequent_name: "bbb", skip_secondary_validations: true, forum_topic: @forum_topic)
assert_equal(@forum_topic.id, Cache.get("tcn:aaa"))
end
end
context "#reject!" do
should "not be blocked by alias validations" do
ti = create(:tag_implication, antecedent_name: "cat", consequent_name: "animal", status: "pending")