projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request 'Reblog content should be ""' (#489) from masto4-reboost into...
[akkoma]
/
test
/
pleroma
/
upload
/
filter
/
analyze_metadata_test.exs
diff --git
a/test/pleroma/upload/filter/analyze_metadata_test.exs
b/test/pleroma/upload/filter/analyze_metadata_test.exs
index 4b636a684fadd3815c47bf94338c3b5988851024..10f9828c4a473de55c65a08168b0311d58706df0 100644
(file)
--- a/
test/pleroma/upload/filter/analyze_metadata_test.exs
+++ b/
test/pleroma/upload/filter/analyze_metadata_test.exs
@@
-18,6
+18,8
@@
defmodule Pleroma.Upload.Filter.AnalyzeMetadataTest do
assert %{width: 1024, height: 768} = meta
assert meta.blurhash
+ # Blurhashes should be a valid base83 string
+ assert meta.blurhash =~ ~r/^[A-Za-z0-9#$%*\+,-\.:;=\?@\[\]\^_{|}~]{6,}$/
end
test "adds the dimensions for videos" do