From b58b35bf5619bd3b4d89a224e3b032c230c01884 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Tue, 12 Sep 2017 11:28:12 +0200 Subject: Use hash of attachment url as id. Pretty hacky, let's see if we can get away with this. --- test/web/mastodon_api/status_view_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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", -- cgit v1.2.3