public async Task GetAppsBatch_Forbidden() { var ids = new[] { 403 }; var getAppsResponse = await _apiClient.GetAppsAsync(ids); AssertHelper.AssertError(getAppsResponse, HttpStatusCode.Forbidden); }
public async Task GetAppsBatch_Unauthorized() { var ids = new[] { 401 }; var getAppsResponse = await _apiClient.GetAppsAsync(ids); AssertHelper.AssertError(getAppsResponse, HttpStatusCode.Unauthorized); }
public async Task GetAppById_Forbidden() { var appResponse = await _apiClient.GetAppAsync(403); AssertHelper.AssertError(appResponse, HttpStatusCode.Forbidden, true); }
public async Task GetAppById_NotFound() { var appResponse = await _apiClient.GetAppAsync(404); AssertHelper.AssertError(appResponse, HttpStatusCode.NotFound, true); }
public async Task GetAppById_Unauthorized() { var appResponse = await _apiClient.GetAppAsync(401); AssertHelper.AssertError(appResponse, HttpStatusCode.Unauthorized); }