// happy path public async Task WhenCalledOnRatedMovie_DeletesRating() { DeleteMovieRatingResult response = await _client.DeleteMovieRating(_settings.SessionId, mediaId : _movie, guestSessionId : null, retryCount : 0); _output.WriteLine($"TMDB server's response code {response.HttpStatusCode}"); _output.WriteLine($"TMDB server's response {response.Json}"); Assert.True(response.HttpStatusCode == System.Net.HttpStatusCode.OK); }
// cleans the states of the movie apriory public async Task InitializeAsync() { await _client.DeleteMovieRating(_settings.SessionId, _movie); await _client.UpdateFavoriteList(_settings.SessionId, "movie", false, _movie); await _client.UpdateWatchlist(_settings.SessionId, "movie", false, _movie); await Task.Delay(500); }
public async Task InitializeAsync() { await _client.DeleteMovieRating(_settings.SessionId, _movie); }