DEV: Remove remaining hardcoded ids (#18735)

This commit is contained in:
Jarek Radosz
2022-10-25 09:29:09 +02:00
committed by GitHub
parent d85c89ba6d
commit df56ab172a
15 changed files with 60 additions and 56 deletions

View File

@ -23,7 +23,7 @@ RSpec.describe PostValidator do
end
context "when post's topic is a PM between a human and a non human user" do
fab!(:robot) { Fabricate(:user, id: -3) }
fab!(:robot) { Fabricate(:bot) }
fab!(:user) { Fabricate(:user) }
let(:topic) do