X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=test%2Fweb%2Fmastodon_api%2Fstatus_view_test.exs;h=198ee72a88c58a719f75d52c6359ed803e1b51a9;hb=d168ef5a9eb4fc074b042a6dea6d7971d1972c06;hp=3c2de4cbea93835f7cdf2ad03c2c18faa9346d62;hpb=1bc58230ee16e6a6a809de85c31eb6f0841b16b3;p=akkoma diff --git a/test/web/mastodon_api/status_view_test.exs b/test/web/mastodon_api/status_view_test.exs index 3c2de4cbe..198ee72a8 100644 --- a/test/web/mastodon_api/status_view_test.exs +++ b/test/web/mastodon_api/status_view_test.exs @@ -13,7 +13,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do status = StatusView.render("status.json", %{activity: note}) created_at = (note.data["object"]["published"] || "") - |> String.replace(~r/\.\d+/, "") + |> String.replace(~r/\.\d+Z/, ".000Z") expected = %{ id: note.id,