Fix test failures due to different default settings in glitch-soc

main-unfiltered
Claire 2023-09-02 14:23:18 +02:00
parent 807c0591e1
commit 4adb12ca91
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ describe Api::V1::Timelines::TagController do
end
context 'when the instance allows public preview' do
before do
Setting.timeline_preview = true
end
context 'when the user is not authenticated' do
let(:token) { nil }