projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'salmon-native-keys' into 'develop'
[akkoma]
/
test
/
web
/
ostatus
/
ostatus_controller_test.exs
diff --git
a/test/web/ostatus/ostatus_controller_test.exs
b/test/web/ostatus/ostatus_controller_test.exs
index 20d17d41f1cd4e1b58a147b49df67b337b138987..9c945e35b9735a67bd83b040e065c9c0d22b94ee 100644
(file)
--- a/
test/web/ostatus/ostatus_controller_test.exs
+++ b/
test/web/ostatus/ostatus_controller_test.exs
@@
-73,6
+73,16
@@
defmodule Pleroma.Web.OStatus.OStatusControllerTest do
assert response(conn, 200)
end
assert response(conn, 200)
end
+
+ test "gets a notice", %{conn: conn} do
+ note_activity = insert(:note_activity)
+ url = "/notice/#{note_activity.id}"
+
+ conn = conn
+ |> get(url)
+
+ assert response(conn, 200)
+ end
end
defmodule Pleroma.Web.OStatusMock do
end
defmodule Pleroma.Web.OStatusMock do