Implement commercial calendars: booking_open, specialists, expire without type downgrade.
Refs EventHub/EventHubBack#54
This commit is contained in:
@@ -91,7 +91,8 @@ test_report_on_review(Admin) ->
|
||||
<<"report_threshold">> => 3
|
||||
}),
|
||||
Owner = api_test_runner:get_user_token(),
|
||||
CalId = api_test_runner:create_calendar(Owner, #{title => <<"RevRepCal">>}),
|
||||
CalId = api_test_runner:create_calendar(Owner, #{
|
||||
title => <<"RevRepCal">>, type => <<"commercial">>, confirmation => <<"manual">>}),
|
||||
#{<<"id">> := EventId} = api_test_runner:client_post(
|
||||
<<"/v1/calendars/", CalId/binary, "/events">>, Owner,
|
||||
#{title => <<"Event for review report">>,
|
||||
|
||||
Reference in New Issue
Block a user