Fix /api/v1/timelines/link specs for glitch-soc default settings

main-rebase-security-fix
Claire 2024-06-06 12:51:39 +02:00
parent 30b00ca2b5
commit 578b0eae7d
1 changed files with 4 additions and 0 deletions

View File

@ -96,6 +96,10 @@ describe 'Link' do
end
context 'when the instance allows public preview' do
before do
Setting.timeline_preview = true
end
context 'with an authorized user' do
it_behaves_like 'a successful request to the link timeline'
end