projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'eliminate-test-errors' into 'develop'
[akkoma]
/
test
/
user_search_test.exs
diff --git
a/test/user_search_test.exs
b/test/user_search_test.exs
index 4de6c82a5c9f8c96742ab9da3883efc67f72de7f..48ce973ad255f073eb9bd97817387e20b8559544 100644
(file)
--- a/
test/user_search_test.exs
+++ b/
test/user_search_test.exs
@@
-193,7
+193,14
@@
defmodule Pleroma.UserSearchTest do
user = User.get_cached_by_ap_id("http://mastodon.example.org/users/admin")
assert length(results) == 1
user = User.get_cached_by_ap_id("http://mastodon.example.org/users/admin")
assert length(results) == 1
- assert user == result |> Map.put(:search_rank, nil) |> Map.put(:search_type, nil)
+
+ expected =
+ result
+ |> Map.put(:search_rank, nil)
+ |> Map.put(:search_type, nil)
+ |> Map.put(:last_digest_emailed_at, nil)
+
+ assert user == expected
end
test "excludes a blocked users from search result" do
end
test "excludes a blocked users from search result" do