Fix failing specs.

Fix failing specs.

diff --git a/spec/requests/discourse_code_review/code_review_controller_spec.rb b/spec/requests/discourse_code_review/code_review_controller_spec.rb
index 1ebd731..053d919 100644
--- a/spec/requests/discourse_code_review/code_review_controller_spec.rb
+++ b/spec/requests/discourse_code_review/code_review_controller_spec.rb
@@ -44,7 +44,7 @@ describe DiscourseCodeReview::CodeReviewController do
       _muted_commit = create_post(
         raw: "this is a fake commit 2",
         tags: [SiteSetting.code_review_pending_tag],
-        category: muted_category.name,
+        category: muted_category.id,
         user: admin2
       )

GitHub sha: 9686d1d9

2 Likes