summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-09-12 11:28:12 +0200
committerRoger Braun <roger@rogerbraun.net>2017-09-12 11:28:12 +0200
commitb58b35bf5619bd3b4d89a224e3b032c230c01884 (patch)
tree00296dc025aeaaffc65e3a04fd875fd3b55529a5 /test
parent44a650235bcb49900a84f50b2ee4d75593231c38 (diff)
downloadpleroma-b58b35bf5619bd3b4d89a224e3b032c230c01884.tar.gz
pleroma-b58b35bf5619bd3b4d89a224e3b032c230c01884.zip
Use hash of attachment url as id.
Pretty hacky, let's see if we can get away with this.
Diffstat (limited to 'test')
-rw-r--r--test/web/mastodon_api/status_view_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/mastodon_api/status_view_test.exs b/test/web/mastodon_api/status_view_test.exs
index a12fc8244..2eb27009b 100644
--- a/test/web/mastodon_api/status_view_test.exs
+++ b/test/web/mastodon_api/status_view_test.exs
@@ -65,7 +65,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
}
expected = %{
- id: 6,
+ id: 1638338801,
type: "image",
url: "someurl",
remote_url: "someurl",