This commit is contained in:
@@ -30,7 +30,7 @@ test_create_single_event(Token, CalId) ->
|
||||
Path = <<"/v1/calendars/", CalId/binary, "/events">>,
|
||||
Body = jsx:encode(#{
|
||||
title => <<"Single Event">>,
|
||||
start_time => <<"2026-06-01T10:00:00Z">>,
|
||||
start_time => api_test_runner:future_date_iso8601(),
|
||||
duration => 60
|
||||
}),
|
||||
Resp = api_test_runner:client_request(post, Path, Token, Body),
|
||||
@@ -58,7 +58,7 @@ test_create_recurring_event(Token, CalId) ->
|
||||
Path = <<"/v1/calendars/", CalId/binary, "/events">>,
|
||||
Body = jsx:encode(#{
|
||||
title => <<"Weekly Meeting">>,
|
||||
start_time => <<"2026-06-01T10:00:00Z">>,
|
||||
start_time => api_test_runner:future_date_iso8601(),
|
||||
duration => 60,
|
||||
recurrence => #{
|
||||
freq => <<"WEEKLY">>,
|
||||
|
||||
Reference in New Issue
Block a user