public async void ScrumInitiateHasScrumNoAnswer() { AddChannelUser(); UserProjectSetup(); _scrumDataRepository.Insert(scrum); _botQuestionRepository.AddQuestion(question); var msg = await _scrumBotRepository.ProcessMessages(_stringConstant.StringIdForTest, _stringConstant.SlackChannelIdForTest, _stringConstant.ScrumTime); Assert.Equal(msg, _stringConstant.GoodDay + "<@" + _stringConstant.UserNameForTest + ">!\n" + _stringConstant.ScrumQuestionForTest); }
public void AddQuestion() { _botQuestionRepository.AddQuestion(question); Assert.Equal(1, question.Id); }
public async void StartTaskMail() { await mockAndUserCreate(); _slackUserRepository.AddSlackUser(slackUserDetails); _botQuestionRepository.AddQuestion(firstQuestion); var responses = await _taskMailRepository.StartTaskMail(_stringConstant.FirstNameForTest); Assert.Equal(responses, firstQuestion.QuestionStatement); }