Merge remote-tracking branch 'parent/main' into upstream-20240118
This commit is contained in:
commit
2b51fabe9c
397 changed files with 2899 additions and 3252 deletions
|
@ -41,7 +41,7 @@ describe RedownloadAvatarWorker do
|
|||
it 'reprocesses a remote avatar' do
|
||||
stub_request(:get, 'https://example.host/file').to_return request_fixture('avatar.txt')
|
||||
account = Fabricate(:account, avatar_remote_url: 'https://example.host/file')
|
||||
account.update_column(:avatar_file_name, nil) # rubocop:disable Rails/SkipsModelValidations
|
||||
account.update_column(:avatar_file_name, nil)
|
||||
|
||||
result = worker.perform(account.id)
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ describe RedownloadHeaderWorker do
|
|||
it 'reprocesses a remote header' do
|
||||
stub_request(:get, 'https://example.host/file').to_return request_fixture('avatar.txt')
|
||||
account = Fabricate(:account, header_remote_url: 'https://example.host/file')
|
||||
account.update_column(:header_file_name, nil) # rubocop:disable Rails/SkipsModelValidations
|
||||
account.update_column(:header_file_name, nil)
|
||||
|
||||
result = worker.perform(account.id)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue