Fix #690 - Webfinger should handle new shortform profile URLs now (nice)
This commit is contained in:
parent
448a07cc3f
commit
1c6b02f936
3 changed files with 9 additions and 6 deletions
|
@ -14,7 +14,7 @@ RSpec.describe XrdController, type: :controller do
|
|||
let(:alice) { Fabricate(:account, username: 'alice') }
|
||||
|
||||
it 'returns http success when account can be found' do
|
||||
get :webfinger, params: { resource: "acct:#{alice.username}@anything.com" }
|
||||
get :webfinger, params: { resource: "acct:#{alice.username}@#{Rails.configuration.x.local_domain}" }
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue