MastoAPI: Add accounts getting.
[akkoma] / test / web / mastodon_api / status_view_test.exs
index 3c2de4cbea93835f7cdf2ad03c2c18faa9346d62..198ee72a88c58a719f75d52c6359ed803e1b51a9 100644 (file)
@@ -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,