mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix tests being broken because of different default setting
This commit is contained in:
parent
3665d554c5
commit
b83e2df6b5
@ -44,6 +44,10 @@ describe Api::V1::Timelines::PublicController do
|
||||
context 'without a user context' do
|
||||
let(:token) { Fabricate(:accessible_access_token, resource_owner_id: nil) }
|
||||
|
||||
before do
|
||||
Setting.timeline_preview = true
|
||||
end
|
||||
|
||||
describe 'GET #show' do
|
||||
it 'returns http success' do
|
||||
get :show
|
||||
|
Loading…
Reference in New Issue
Block a user