diff options
Diffstat (limited to 'app/post_test.go')
-rw-r--r-- | app/post_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/post_test.go b/app/post_test.go index 9854bb707..3f3783265 100644 --- a/app/post_test.go +++ b/app/post_test.go @@ -211,6 +211,12 @@ func TestImageProxy(t *testing.T) { ImageURL: "http://mydomain.com/myimage", ProxiedImageURL: "https://127.0.0.1/x1000/http://mydomain.com/myimage", }, + "willnorris/imageproxy_EmptyImageURL": { + ProxyType: "willnorris/imageproxy", + ProxyURL: "https://127.0.0.1", + ImageURL: "", + ProxiedImageURL: "", + }, "willnorris/imageproxy_WithSigning": { ProxyType: "willnorris/imageproxy", ProxyURL: "https://127.0.0.1", |