File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
aztec/src/test/kotlin/org/wordpress/aztec Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -557,12 +557,7 @@ class HeadingTest {
557557
558558 toolbar.onMenuItemClick(menuHeading2)
559559 Assert .assertEquals(" <h1>Heading 1</h1><h2>Heading 2</h2><h3>Heading 3</h3>" , editText.toHtml())
560- // TODO: Correct heading menu selection. This is incorrect. Heading 2 should be selected.
561- // AztecToolbar.highlightAppliedStyles returns Heading 1, Heading 2, and Heading 3 so then
562- // AztecToolbar.selectHeaderMenu selects the first format. See this issue for details.
563- // https://github.com/wordpress-mobile/AztecEditor-Android/issues/317
564- // Assert.assertEquals(TextFormat.FORMAT_HEADING_2, toolbar.getSelectedHeadingMenuItem())
565- Assert .assertEquals(TextFormat .FORMAT_HEADING_1 , toolbar.getSelectedHeadingMenuItem())
560+ Assert .assertEquals(TextFormat .FORMAT_HEADING_2 , toolbar.getSelectedHeadingMenuItem())
566561 }
567562
568563 @Test
You can’t perform that action at this time.
0 commit comments