diff options
author | Mark Felder <feld@feld.me> | 2024-02-06 14:34:59 -0500 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-02-06 18:33:54 -0500 |
commit | 6b7b443ff95587b33f4b666e68ed82dc6fb485a5 (patch) | |
tree | 035b15931ca6f06f490425af8c15f27b5136e733 /test/fixtures/rich_media/oembed.html | |
parent | e9573627792df4cdaea15f1ca1563594f477cd8e (diff) | |
download | pleroma-6b7b443ff95587b33f4b666e68ed82dc6fb485a5.tar.gz pleroma-6b7b443ff95587b33f4b666e68ed82dc6fb485a5.zip |
Pleroma.Web.RichMedia.Parser: Remove test-specific codepaths
Also consolidate Tesla mocks into the HttpRequestMock module.
Tests were not exercising the real codepaths. The Rich Media Preview only works with https, but most of these tests were only mocking http.
Diffstat (limited to 'test/fixtures/rich_media/oembed.html')
-rw-r--r-- | test/fixtures/rich_media/oembed.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixtures/rich_media/oembed.html b/test/fixtures/rich_media/oembed.html index 55f17004b..5429630d0 100644 --- a/test/fixtures/rich_media/oembed.html +++ b/test/fixtures/rich_media/oembed.html @@ -1,3 +1,3 @@ <link rel="alternate" type="application/json+oembed" - href="http://example.com/oembed.json" + href="https://example.com/oembed.json" title="Bacon Lollys oEmbed Profile" /> |