Do not try to re-subscribe to unsubscribed accounts (#4653)
This commit is contained in:
parent
ea958cae7f
commit
3534e115e5
4 changed files with 5 additions and 6 deletions
|
@ -642,7 +642,6 @@ RSpec.describe Account, type: :model do
|
|||
it 'returns remote accounts with followers whose subscription expiration date is past or not given' do
|
||||
local = Fabricate(:account, domain: nil)
|
||||
matches = [
|
||||
{ domain: 'remote', subscription_expires_at: nil },
|
||||
{ domain: 'remote', subscription_expires_at: '2000-01-01T00:00:00Z' },
|
||||
].map(&method(:Fabricate).curry(2).call(:account))
|
||||
matches.each(&local.method(:follow!))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue