Change: ホワイトリストが空でも設定が有効であればアカウント作成を保留 (#601)
* Change: ホワイトリストが空でも設定が有効であればアカウント作成を保留 * Fix test
This commit is contained in:
parent
c8c8c873f4
commit
efdd20bf7f
4 changed files with 5 additions and 6 deletions
|
@ -29,11 +29,11 @@ RSpec.describe ActivityPub::ProcessAccountService, type: :service do
|
|||
Setting.permit_new_account_domains = permit_new_account_domains
|
||||
end
|
||||
|
||||
it 'created account in a simple case' do
|
||||
it 'creates pending account in a simple case' do
|
||||
expect(subject).to_not be_nil
|
||||
expect(subject.uri).to eq 'https://foo.test'
|
||||
expect(subject.suspended?).to be false
|
||||
expect(subject.remote_pending).to be false
|
||||
expect(subject.suspended?).to be true
|
||||
expect(subject.remote_pending).to be true
|
||||
end
|
||||
|
||||
context 'when is blocked' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue