diff --git a/test/unit/tag_alias_test.rb b/test/unit/tag_alias_test.rb index 43f9d6bd9..e5d3025db 100644 --- a/test/unit/tag_alias_test.rb +++ b/test/unit/tag_alias_test.rb @@ -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") diff --git a/test/unit/tag_implication_test.rb b/test/unit/tag_implication_test.rb index d6d01693f..6dddde7a6 100644 --- a/test/unit/tag_implication_test.rb +++ b/test/unit/tag_implication_test.rb @@ -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")