Fix test failures due to different default settings in glitch-soc
This commit is contained in:
@@ -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 }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user