Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/shared/domain/enums/sport.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ class SPORT(Enum):
HANDBALL = "Handball"
FUTSAL = "Futsal"
RUGBY = "Rugby"
PING_PONG= "Ping Pong"
TENIS_MESA= "Tenis de Mesa"
JUDO = "Judo"
FUNCIONAL = "Funcional"
BEACH_TENNIS = "Beach Tennis"
ATIVIDADES_ACADEMICAS = "Atividades Academicas"
NATACAO = "Natacao"
CORRIDA = "Corrida"
NA = "NA"
2 changes: 1 addition & 1 deletion src/shared/infra/repositories/booking_repository_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def __init__(self):
start_date=1634590800000,
end_date=1634592600000,
court_number=5,
sport=SPORT.PING_PONG,
sport=SPORT.TENIS_MESA,
user_id='c8435c66-13a4-4641-9d54-773b4b8ccc98',
booking_id='b8d3bebf-dc0d-4fc1-861c-506a40cc2925',
materials=['Raquete', 'Bola'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def test_get_all_bookings_viewmodel(self):
'start_date': 1634590800000,
'end_date': 1634592600000,
'court_number': 5,
'sport': 'Ping Pong',
'sport': 'Tenis de Mesa',
'booking_id': 'b8d3bebf-dc0d-4fc1-861c-506a40cc2925',
'materials': ['Raquete', 'Bola'],
'type': 'Training'
Expand Down
Loading