Move Participant role from integer to enum
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -117,7 +117,7 @@ defmodule Mobilizon.Factory do
|
||||
%Mobilizon.Events.Participant{
|
||||
event: build(:event),
|
||||
actor: build(:actor),
|
||||
role: 0
|
||||
role: :creator
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user