This commit is contained in:
@@ -32,7 +32,7 @@ test() ->
|
||||
#{<<"id">> := RecurringId} = api_test_runner:client_post(
|
||||
<<"/v1/calendars/", CalId/binary, "/events">>, OwnerToken,
|
||||
#{title => <<"Weekly Standup">>,
|
||||
start_time => <<"2026-06-01T10:00:00Z">>,
|
||||
start_time => api_test_runner:future_date_iso8601(),
|
||||
duration => 30,
|
||||
recurrence => #{freq => <<"WEEKLY">>, interval => 1}}),
|
||||
|
||||
@@ -73,7 +73,7 @@ test_cancel_occurrence_on_single_event(Token, CalId) ->
|
||||
#{<<"id">> := SingleId} = api_test_runner:client_post(
|
||||
<<"/v1/calendars/", CalId/binary, "/events">>, Token,
|
||||
#{title => <<"Single">>,
|
||||
start_time => <<"2026-06-02T10:00:00Z">>,
|
||||
start_time => api_test_runner:future_date_iso8601(),
|
||||
duration => 30}),
|
||||
Path = <<"/v1/events/", SingleId/binary, "/occurrences/2026-06-02T10:00:00Z">>,
|
||||
Resp = api_test_runner:client_request(delete, Path, Token),
|
||||
|
||||
Reference in New Issue
Block a user