This commit is contained in:
@@ -35,7 +35,7 @@ test() ->
|
||||
#{<<"id">> := EventId} = api_test_runner:client_post(
|
||||
<<"/v1/calendars/", CalId/binary, "/events">>, OwnerToken,
|
||||
#{title => <<"Event to book">>,
|
||||
start_time => <<"2026-06-01T10:00:00Z">>,
|
||||
start_time => api_test_runner:future_date_iso8601(),
|
||||
duration => 60}),
|
||||
|
||||
test_create_booking(ParticipantToken, EventId),
|
||||
@@ -81,7 +81,7 @@ test_confirm_booking(OwnerToken, EventId) ->
|
||||
|
||||
%% @doc Отмена бронирования участником: 200 OK.
|
||||
-spec test_cancel_booking(binary(), binary()) -> ok.
|
||||
test_cancel_booking(OwnerToken, EventId) ->
|
||||
test_cancel_booking(_OwnerToken, EventId) ->
|
||||
ct:pal(" TEST: Cancel booking as participant"),
|
||||
% Создаём нового участника, у которого нет бронирований
|
||||
CancelUserEmail = api_test_runner:unique_email(<<"canceluser">>),
|
||||
|
||||
Reference in New Issue
Block a user