From 9ed228b02da0297a29d902abab37c5f34626c691 Mon Sep 17 00:00:00 2001 From: Osama Sayegh Date: Mon, 9 Dec 2024 11:27:55 +0300 Subject: [PATCH] DEV: Fix spec following core change (#327) See https://github.com/discourse/discourse/pull/29981 --- spec/requests/custom_reactions_controller_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/requests/custom_reactions_controller_spec.rb b/spec/requests/custom_reactions_controller_spec.rb index f22a60d..f6f3f12 100644 --- a/spec/requests/custom_reactions_controller_spec.rb +++ b/spec/requests/custom_reactions_controller_spec.rb @@ -55,6 +55,7 @@ SiteSetting.discourse_reactions_like_icon = "heart" SiteSetting.discourse_reactions_enabled_reactions = "laughing|open_mouth|cry|angry|thumbsup|hugs" + user_2.user_stat.update!(post_count: 1) end describe "#toggle" do