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

lolsob-rspec
Claire 2023-09-02 14:23:18 +02:00
parent e070644a5d
commit f3f3294db5
1 changed files with 4 additions and 0 deletions

View File

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