diff options
Diffstat (limited to 'test/support/factory.ex')
-rw-r--r-- | test/support/factory.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/support/factory.ex b/test/support/factory.ex index 1f4239213..c751546ce 100644 --- a/test/support/factory.ex +++ b/test/support/factory.ex @@ -118,6 +118,7 @@ defmodule Pleroma.Factory do def note_activity_factory(attrs \\ %{}) do user = attrs[:user] || insert(:user) note = attrs[:note] || insert(:note, user: user) + data_attrs = attrs[:data_attrs] || %{} attrs = Map.drop(attrs, [:user, :note, :data_attrs]) |