C# Class MultiTentantSurveyAppTests.WebAPISurveyControllerTests

Show file Open project: Azure-Samples/guidance-identity-management-for-multitenant-apps

Public Methods

Method Description
WebAPISurveyControllerTests ( ) : System.Collections.Generic

Private Methods

Method Description
CreateActionContextWithUserPrincipal ( string userId, string tenantId ) : Microsoft.AspNet.Mvc.ActionContext
GetSurveysForTenant_FailsIfNotInSameTenant ( ) : System.Threading.Tasks.Task
GetSurveysForTenant_ReturnsSurveys ( ) : System.Threading.Tasks.Task
GetSurveysForUser_FailsIfNotUser ( ) : System.Threading.Tasks.Task
GetSurveysForUser_ReturnsSurveys ( ) : System.Threading.Tasks.Task

Method Details

WebAPISurveyControllerTests() public method

public WebAPISurveyControllerTests ( ) : System.Collections.Generic
return System.Collections.Generic