]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7010 Fix IssueActionTest 5.5-M5
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 26 Feb 2016 08:50:59 +0000 (09:50 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 26 Feb 2016 08:50:59 +0000 (09:50 +0100)
it/it-tests/src/test/java/it/issue/IssueActionTest.java

index ee8b3fbd15ad69b85fdf66f0667b76b86339fb9c..49322a7d1e9d67aa29a27de620a0474083b5c457 100644 (file)
@@ -70,7 +70,7 @@ public class IssueActionTest extends AbstractIssueTest {
   public void add_comment() throws Exception {
     IssueComment comment = adminIssueClient().addComment(issue.key(), "this is my *comment*");
     assertThat(comment.key()).isNotNull();
-    assertThat(comment.htmlText()).isEqualTo("this is my <em>comment</em>");
+    assertThat(comment.htmlText()).isEqualTo("this is my <strong>comment</strong>");
     assertThat(comment.login()).isEqualTo("admin");
     assertThat(comment.createdAt()).isNotNull();
 
@@ -79,7 +79,7 @@ public class IssueActionTest extends AbstractIssueTest {
 
     assertThat(reloaded.comments()).hasSize(1);
     assertThat(reloaded.comments().get(0).key()).isEqualTo(comment.key());
-    assertThat(reloaded.comments().get(0).htmlText()).isEqualTo("this is my <em>comment</em>");
+    assertThat(reloaded.comments().get(0).htmlText()).isEqualTo("this is my <strong>comment</strong>");
     assertThat(reloaded.updateDate().before(issue.creationDate())).isFalse();
   }