diff options
| author | kaniini <nenolod@gmail.com> | 2018-12-04 18:41:00 +0000 | 
|---|---|---|
| committer | kaniini <nenolod@gmail.com> | 2018-12-04 18:41:00 +0000 | 
| commit | 114b95cee20c9bb4922627e5397a70d60e905fa6 (patch) | |
| tree | a188264fd550f9473ee3f1faa74d56ca9fd319fc /test/fixtures | |
| parent | 4a602230e4b95e916b3df73bd88413b245e07de0 (diff) | |
| parent | a9e3e387c9798a810f82bbf92023b4d29abffbe5 (diff) | |
| download | pleroma-114b95cee20c9bb4922627e5397a70d60e905fa6.tar.gz pleroma-114b95cee20c9bb4922627e5397a70d60e905fa6.zip  | |
Merge branch 'feature/integration_tesla' into 'develop'
[#354] Move all http interactions to Tesla
See merge request pleroma/pleroma!487
Diffstat (limited to 'test/fixtures')
| -rw-r--r-- | test/fixtures/httpoison_mock/framatube.org_host_meta | 2 | ||||
| -rw-r--r-- | test/fixtures/httpoison_mock/gerzilla.de_host_meta | 10 | ||||
| -rw-r--r-- | test/fixtures/httpoison_mock/gnusocial.de_host_meta | 2 | 
3 files changed, 14 insertions, 0 deletions
diff --git a/test/fixtures/httpoison_mock/framatube.org_host_meta b/test/fixtures/httpoison_mock/framatube.org_host_meta new file mode 100644 index 000000000..91516ff6d --- /dev/null +++ b/test/fixtures/httpoison_mock/framatube.org_host_meta @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"><hm:Host xmlns:hm="http://host-meta.net/xrd/1.0">framatube.org</hm:Host><Link rel="lrdd" template="http://framatube.org/main/xrd?uri={uri}"><Title>Resource Descriptor</Title></Link></XRD> diff --git a/test/fixtures/httpoison_mock/gerzilla.de_host_meta b/test/fixtures/httpoison_mock/gerzilla.de_host_meta new file mode 100644 index 000000000..fae8f37eb --- /dev/null +++ b/test/fixtures/httpoison_mock/gerzilla.de_host_meta @@ -0,0 +1,10 @@ +<?xml version='1.0' encoding='UTF-8'?><XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0' +     xmlns:hm='http://host-meta.net/xrd/1.0'> +  +    <hm:Host>gerzilla.de</hm:Host> +  +    <Link rel='lrdd' type="application/xrd+xml" template='https://gerzilla.de/xrd/?uri={uri}' /> +	<Link rel="http://oexchange.org/spec/0.8/rel/resident-target" type="application/xrd+xml"  +        href="https://gerzilla.de/oexchange/xrd" /> + +</XRD> diff --git a/test/fixtures/httpoison_mock/gnusocial.de_host_meta b/test/fixtures/httpoison_mock/gnusocial.de_host_meta new file mode 100644 index 000000000..a4affb102 --- /dev/null +++ b/test/fixtures/httpoison_mock/gnusocial.de_host_meta @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="UTF-8"?> +<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"><hm:Host xmlns:hm="http://host-meta.net/xrd/1.0">gnusocial.de</hm:Host><Link rel="lrdd" template="http://gnusocial.de/main/xrd?uri={uri}"><Title>Resource Descriptor</Title></Link></XRD>  | 
