Adding more unit tests. Fixing Salmon slaps XML
This commit is contained in:
parent
446267d1bf
commit
720ff55262
13 changed files with 363 additions and 58 deletions
|
@ -9,7 +9,7 @@ class AfterRemoteFollowRequestWorker
|
|||
follow_request = FollowRequest.find(follow_request_id)
|
||||
updated_account = FetchRemoteAccountService.new.call(follow_request.target_account.remote_url)
|
||||
|
||||
return if updated_account.locked?
|
||||
return if updated_account.nil? || updated_account.locked?
|
||||
|
||||
follow_request.destroy
|
||||
FollowService.new.call(follow_request.account, updated_account.acct)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue