summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorRin Toshaka <rinpatch@sdf.org>2018-12-05 14:16:55 +0100
committerRin Toshaka <rinpatch@sdf.org>2018-12-05 14:16:55 +0100
commit9938fa3293478e0dfe5f8d82c1526e0cd3747cf1 (patch)
treeff6497bc68b1588cf3b54cc6b9e9135ef69a17d1 /test/fixtures
parent6396f1b58f69b727e801df4b52a32c47da08e517 (diff)
parent22eff1791204864d0536e71c13649d0030c409a7 (diff)
downloadpleroma-9938fa3293478e0dfe5f8d82c1526e0cd3747cf1.tar.gz
pleroma-9938fa3293478e0dfe5f8d82c1526e0cd3747cf1.zip
Merge develop to refactor/mix-tasks
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/httpoison_mock/framatube.org_host_meta2
-rw-r--r--test/fixtures/httpoison_mock/gerzilla.de_host_meta10
-rw-r--r--test/fixtures/httpoison_mock/gnusocial.de_host_meta2
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>