diff options
author | Akihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp> | 2017-06-04 21:59:40 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-04 14:59:40 +0200 |
commit | e674608d10e3c0381d2e8172580b36eb553b5279 (patch) | |
tree | fecaab9d845cb1bdf7a93520d7b22320df4ed8f5 /spec/fixtures | |
parent | c7af8cbc9081f349461634db0a1d76bc689d8dd5 (diff) |
A minor change for ProviderDiscovery and spec (#3543)
* Do not default the format in ProviderDiscovery The format should be determined when discovering, as it is in the current implementation, and it is a flaw if it is not determined. * Spec ProviderDiscovery
Diffstat (limited to 'spec/fixtures')
-rw-r--r-- | spec/fixtures/requests/oembed_invalid_xml.html | 7 | ||||
-rw-r--r-- | spec/fixtures/requests/oembed_json.html | 7 | ||||
-rw-r--r-- | spec/fixtures/requests/oembed_json_xml.html | 8 | ||||
-rw-r--r-- | spec/fixtures/requests/oembed_undiscoverable.html | 5 | ||||
-rw-r--r-- | spec/fixtures/requests/oembed_xml.html | 7 |
5 files changed, 34 insertions, 0 deletions
diff --git a/spec/fixtures/requests/oembed_invalid_xml.html b/spec/fixtures/requests/oembed_invalid_xml.html new file mode 100644 index 000000000..405834f12 --- /dev/null +++ b/spec/fixtures/requests/oembed_invalid_xml.html @@ -0,0 +1,7 @@ +<!DOCTYPE html> +<html> + <head> + <link href=':' rel='alternate' type='application/xml+oembed'> + </head> + <body></body> +</html> diff --git a/spec/fixtures/requests/oembed_json.html b/spec/fixtures/requests/oembed_json.html new file mode 100644 index 000000000..773a4f92a --- /dev/null +++ b/spec/fixtures/requests/oembed_json.html @@ -0,0 +1,7 @@ +<!DOCTYPE html> +<html> + <head> + <link href='https://host/provider.json' rel='alternate' type='application/json+oembed'> + </head> + <body></body> +</html> diff --git a/spec/fixtures/requests/oembed_json_xml.html b/spec/fixtures/requests/oembed_json_xml.html new file mode 100644 index 000000000..b5fc9bed0 --- /dev/null +++ b/spec/fixtures/requests/oembed_json_xml.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<html> + <head> + <link href='https://host/provider.json' rel='alternate' type='application/json+oembed'> + <link href='https://host/provider.xml' rel='alternate' type='application/xml+oembed'> + </head> + <body></body> +</html> diff --git a/spec/fixtures/requests/oembed_undiscoverable.html b/spec/fixtures/requests/oembed_undiscoverable.html new file mode 100644 index 000000000..a4acdc47a --- /dev/null +++ b/spec/fixtures/requests/oembed_undiscoverable.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<html> + <head></head> + <body></body> +</html> diff --git a/spec/fixtures/requests/oembed_xml.html b/spec/fixtures/requests/oembed_xml.html new file mode 100644 index 000000000..5d7633e71 --- /dev/null +++ b/spec/fixtures/requests/oembed_xml.html @@ -0,0 +1,7 @@ +<!DOCTYPE html> +<html> + <head> + <link href='https://host/provider.xml' rel='alternate' type='application/xml+oembed'> + </head> + <body></body> +</html> |