public async Task OneTimeSetup() { httpClient = new HttpClient(); service = new SurveySolutionsApi(httpClient, ClientSettings.GetConfiguration()); questionnaireIdentity = ClientSettings.Questionnaire; var creationResult = await this.service.Assignments.CreateAsync(new CreateAssignmentRequest { QuestionnaireId = questionnaireIdentity, Quantity = 5, Responsible = "inter", }); this.assignmentId = creationResult.Assignment.Id; }
public void OneTimeSetup() { httpClient = new HttpClient(); service = new SurveySolutionsApi(httpClient, ClientSettings.GetConfiguration()); }
public void OneTimeSetup() { httpClient = new HttpClient(); service = new SurveySolutionsApi(httpClient, ClientSettings.GetConfiguration()); questionnaireIdentity = ClientSettings.Questionnaire; }