diff options
author | Christopher Brown <ccbrown112@gmail.com> | 2018-02-09 20:08:39 -0600 |
---|---|---|
committer | Christopher Brown <ccbrown112@gmail.com> | 2018-02-09 20:08:39 -0600 |
commit | c1b6e8792c9f91c66c35737438c20757ef43066f (patch) | |
tree | 6185a06ef39be33c7128ea335c656deddd626419 /app/post_test.go | |
parent | 396e7513ecc7d86b04e56745586c802e56e5d763 (diff) | |
download | chat-c1b6e8792c9f91c66c35737438c20757ef43066f.tar.gz chat-c1b6e8792c9f91c66c35737438c20757ef43066f.tar.bz2 chat-c1b6e8792c9f91c66c35737438c20757ef43066f.zip |
minor addition to #8238
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 e09d3a198..409bc043d 100644 --- a/app/post_test.go +++ b/app/post_test.go @@ -221,6 +221,12 @@ func TestImageProxy(t *testing.T) { ImageURL: "http://mymattermost.com/myimage", ProxiedImageURL: "http://mymattermost.com/myimage", }, + "willnorris/imageproxy_PathOnly": { + ProxyType: "willnorris/imageproxy", + ProxyURL: "https://127.0.0.1", + ImageURL: "/myimage", + ProxiedImageURL: "/myimage", + }, "willnorris/imageproxy_EmptyImageURL": { ProxyType: "willnorris/imageproxy", ProxyURL: "https://127.0.0.1", |