diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2020-09-15 15:32:49 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2020-09-15 15:32:49 +0300 |
commit | f879d07fa1a046b5aa33de8e445b1ca803fa1d04 (patch) | |
tree | 9db929e9744f54040bc3892082bd67ee27a6de3b /test/repo_test.exs | |
parent | 3e53ab4e98e6294f593f2185998f555ccd6fee73 (diff) | |
download | pleroma-f879d07fa1a046b5aa33de8e445b1ca803fa1d04.tar.gz pleroma-f879d07fa1a046b5aa33de8e445b1ca803fa1d04.zip |
fixed tests
Diffstat (limited to 'test/repo_test.exs')
-rw-r--r-- | test/repo_test.exs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/repo_test.exs b/test/repo_test.exs index 92e827c95..72c0b5071 100644 --- a/test/repo_test.exs +++ b/test/repo_test.exs @@ -37,7 +37,9 @@ defmodule Pleroma.RepoTest do test "get one-to-many assoc from repo" do user = insert(:user) - notification = refresh_record(insert(:notification, user: user)) + + notification = + refresh_record(insert(:notification, user: user, activity: insert(:note_activity))) assert Repo.get_assoc(user, :notifications) == {:ok, [notification]} end |