This commit is contained in:
@@ -74,6 +74,10 @@ async def test_available_slots_skip_weekend_lunch_and_holidays(
|
||||
"accepts_online_booking": True,
|
||||
},
|
||||
)
|
||||
settings = await client.get(f"/api/sto/settings/booking?service_center_id={center['id']}", headers=auth_headers)
|
||||
assert settings.status_code == 200
|
||||
assert settings.json()["working_days"] == [0]
|
||||
assert settings.json()["open_time"] == "09:00:00"
|
||||
await client.post(
|
||||
"/api/sto/settings/holidays",
|
||||
headers=auth_headers,
|
||||
|
||||
Reference in New Issue
Block a user