Example #1
0
        public async Task ShouldCorrectlyGenerateNewTusResumableUploadTicket()
        {
            var ticket = await AuthenticatedClient.GetTusResumableUploadTicketAsync(1000);

            ticket.ShouldNotBeNull();
            ticket.Upload.UploadLink.ShouldNotBeEmpty();
            ticket.Id.ShouldNotBeNull();
            ticket.User.Id.ShouldBe(VimeoSettings.UserId);
            await AuthenticatedClient.DeleteVideoAsync(ticket.Id.Value);
        }