Introduce event categories
Closes #1056 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -21,7 +21,7 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
|
||||
begins_on: DateTime.utc_now() |> DateTime.truncate(:second),
|
||||
uuid: "b5126423-f1af-43e4-a923-002a03003ba4",
|
||||
url: "some url",
|
||||
category: "meeting"
|
||||
category: "MEETING"
|
||||
}
|
||||
|
||||
@find_event_query """
|
||||
|
||||
@@ -20,7 +20,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
|
||||
|> DateTime.truncate(:second),
|
||||
uuid: "b5126423-f1af-43e4-a923-002a03003ba4",
|
||||
url: "some url",
|
||||
category: "meeting",
|
||||
category: "MEETING",
|
||||
options: %{}
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ defmodule Mobilizon.EventsTest do
|
||||
title: "some title",
|
||||
url: "some url",
|
||||
uuid: "b5126423-f1af-43e4-a923-002a03003ba4",
|
||||
category: "meeting"
|
||||
category: "MEETING"
|
||||
}
|
||||
|
||||
describe "list_events/5" do
|
||||
|
||||
Reference in New Issue
Block a user