FIX: Add skip_validations in one more place for narrative bot plugin
Followup to bbb814e58e
This commit is contained in:
parent
bbb814e58e
commit
22e713d2b0
|
@ -28,7 +28,8 @@ module DiscourseNarrativeBot
|
|||
else
|
||||
PostCreator.create!(self.discobot_user, {
|
||||
post_alert_options: defaut_post_alert_opts,
|
||||
raw: raw
|
||||
raw: raw,
|
||||
skip_validations: true
|
||||
}.merge(opts))
|
||||
end
|
||||
end
|
||||
|
|
|
@ -131,7 +131,6 @@ RSpec.describe DiscourseNarrativeBot::AdvancedUserNarrative do
|
|||
narrative.reset_bot(user, other_post)
|
||||
|
||||
expect(Topic.last.title).to eq(I18n.t('discourse_narrative_bot.advanced_user_narrative.title'))
|
||||
expect(new_post.topic.id).to_not eq(topic.id)
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue