Split timeline_preview setting into more granular settings (#36338)

This commit is contained in:
Claire authored and GitHub committed 2025-10-06 08:34:05 +00:00
1 parent 62f91eddf4
commit 2d2c525097
88 files changed
+156 -173

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ RSpec.describe 'Link' do
context 'when the instance does not allow public preview' do
before do
Form::AdminSettings.new(timeline_preview: false).save
Form::AdminSettings.new(local_topic_feed_access: 'authenticated', remote_topic_feed_access: 'authenticated').save
end
it_behaves_like 'forbidden for wrong scope', 'profile'
@@ -98,7 +98,7 @@ RSpec.describe 'Public' do
context 'when the instance does not allow public preview' do
before do
Form::AdminSettings.new(timeline_preview: false).save
Form::AdminSettings.new(local_live_feed_access: 'authenticated', remote_live_feed_access: 'authenticated').save
end
it_behaves_like 'forbidden for wrong scope', 'profile'
+1 -1
View File
@@ -99,7 +99,7 @@ RSpec.describe 'Tag' do
context 'when the instance does not allow public preview' do
before do
Form::AdminSettings.new(timeline_preview: false).save
Form::AdminSettings.new(local_topic_feed_access: 'authenticated', remote_topic_feed_access: 'authenticated').save
end
it_behaves_like 'forbidden for wrong scope', 'profile'