Test1

 
 
 
Сообщения:50
 @Test
public void addCommentToCodeReview_UserSubscribedToCodeReviewOnlyReceivesCodeReviewNotificationOnly() throws Exception {
User codeReviewStarter = Users.signUpAndSignIn();
CodeReview codeReview = Topics.createCodeReview(new CodeReview().withBranch(NOTIFICATION_BRANCH));
- Topics.subscribe(codeReview);
+ //We do not subscribe codeReviewStarter to topic explicitly, because he is automatically subscribed
Users.logout();
User topicCommentator = Users.signUpAndSignIn();
Topics.leaveCodeReviewComment(codeReview, new CodeReviewComment());
Notifications.assertNotificationOnTopicSentBranchNotSent(codeReview, codeReviewStarter);
}

1' AND 1=(SELECT COUNT(*) FROM http://qa.jtalks.org/jcommune/user

tablenames); --
 
Модераторы:LuckysenleftgurookatAlisaTestPetraStillJulikigorss
Сейчас эту тему просматривают:Нет