Implement commercial calendars: booking_open, specialists, expire without type downgrade.
Refs EventHub/EventHubBack#54
This commit is contained in:
Regular → Executable
+5
-1
@@ -27,7 +27,11 @@ test() ->
|
||||
ParticipantToken = api_test_runner:register_and_login(ParticipantEmail, <<"pass">>),
|
||||
|
||||
% Создаём календарь и событие
|
||||
CalId = api_test_runner:create_calendar(OwnerToken, #{title => <<"MyBookTest">>}),
|
||||
CalId = api_test_runner:create_calendar(OwnerToken, #{
|
||||
title => <<"MyBookTest">>,
|
||||
type => <<"commercial">>,
|
||||
confirmation => <<"manual">>
|
||||
}),
|
||||
#{<<"id">> := EventId} = api_test_runner:client_post(
|
||||
<<"/v1/calendars/", CalId/binary, "/events">>, OwnerToken,
|
||||
#{title => <<"Event for my booking">>,
|
||||
|
||||
Reference in New Issue
Block a user