Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 7c7b7a3

Browse files
committed
Set custom field for bot PM in spec
1 parent 34a8273 commit 7c7b7a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/system/ai_bot/homepage_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@
9393
end
9494

9595
before do
96+
pm.custom_fields[DiscourseAi::AiBot::TOPIC_AI_BOT_PM_FIELD] = "t"
97+
pm.save!
98+
9699
SiteSetting.ai_enable_experimental_bot_ux = true
97100
SiteSetting.ai_bot_enabled = true
98101
Jobs.run_immediately!

0 commit comments

Comments
 (0)