]> cat aescling's git repositories - mastodon.git/commit
Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService ...
authorunarist <m.unarist@gmail.com>
Sun, 17 Sep 2017 09:54:23 +0000 (18:54 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 17 Sep 2017 09:54:23 +0000 (11:54 +0200)
commit1eab53ee1030542a5c4c56203a61eecae9768131
treebae199a31161135be2f9a42b74dd15c88b98ed21
parent7be3131240ba0371f028ccf1ca93dac87678b27d
Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService (#4979)

* Fix an error when actor json couldn't be fetched in ResolveRemoteAccountService

* Add specs
app/services/resolve_remote_account_service.rb
spec/fixtures/requests/activitypub-actor-noinbox.txt [new file with mode: 0644]
spec/fixtures/requests/activitypub-actor.txt [new file with mode: 0644]
spec/fixtures/requests/activitypub-feed.txt [new file with mode: 0644]
spec/fixtures/requests/activitypub-webfinger.txt [new file with mode: 0644]
spec/services/resolve_remote_account_service_spec.rb