Add starts_at, ends_at and all_day parameters
This commit is contained in:
parent
fcf3c9057e
commit
cf8334dbc1
6 changed files with 42 additions and 22 deletions
|
|
@ -630,7 +630,7 @@ defmodule Pleroma.Factory do
|
|||
|
||||
def announcement_factory(params \\ %{}, data \\ %{}) do
|
||||
%Pleroma.Announcement{
|
||||
data: Map.merge(%{"content" => "test announcement"}, data)
|
||||
data: Map.merge(%{"content" => "test announcement", "all_day" => false}, data)
|
||||
}
|
||||
|> Map.merge(params)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue