Fix event notification tests

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-10-18 11:09:27 +02:00
parent f31454c692
commit f24ec89408
7 changed files with 45 additions and 26 deletions

View File

@@ -109,7 +109,7 @@ defmodule Mobilizon.Events.Participant do
# No lookalike symbols
@symbols '6789BCDFGHJKLMNPQRTW'
@symbol_count Enum.count(@symbols)
@symbol_count Enum.count(@symbols) - 1
@code_length 6
@spec generate_code :: String.t()