@@ -138,7 +138,7 @@ function test_rendering_comment_template() {
138138 // Here we use the function prefixed with 'gutenberg_*' because it's added
139139 // in the build step.
140140 $ this ->assertEquals (
141- '<ol ><li id="comment- ' . self ::$ comment_ids [0 ] . '" class="comment even thread-even depth-1"><div class="has-small-font-size wp-block-comment-author-name"><a rel="external nofollow ugc" href="http://example.com/author-url/" target="_self" >Test</a></div><div class="wp-block-comment-content">Hello world</div></li></ol> ' ,
141+ '<ol ><li id="comment- ' . self ::$ comment_ids [0 ] . '" class="comment even thread-even depth-1"><div class="wp-block-comment-author-name"><a rel="external nofollow ugc" href="http://example.com/author-url/" target="_self" >Test</a></div><div class="wp-block-comment-content">Hello world</div></li></ol> ' ,
142142 gutenberg_render_block_core_comment_template ( null , null , $ block )
143143 );
144144 }
@@ -194,7 +194,7 @@ function test_rendering_comment_template_nested() {
194194 <<<END
195195 <ol >
196196 <li id="comment- {$ top_level_ids [0 ]}" class="comment odd alt thread-odd thread-alt depth-1">
197- <div class="has-small-font-size wp-block-comment-author-name">
197+ <div class="wp-block-comment-author-name">
198198 <a rel="external nofollow ugc" href="http://example.com/author-url/" target="_self" >
199199 Test
200200 </a>
@@ -204,7 +204,7 @@ function test_rendering_comment_template_nested() {
204204 </div>
205205 <ol>
206206 <li id="comment- {$ first_level_ids [0 ]}" class="comment even depth-2">
207- <div class="has-small-font-size wp-block-comment-author-name">
207+ <div class="wp-block-comment-author-name">
208208 <a rel="external nofollow ugc" href="http://example.com/author-url/" target="_self" >
209209 Test
210210 </a>
@@ -214,7 +214,7 @@ function test_rendering_comment_template_nested() {
214214 </div>
215215 <ol>
216216 <li id="comment- {$ second_level_ids [0 ]}" class="comment odd alt depth-3">
217- <div class="has-small-font-size wp-block-comment-author-name">
217+ <div class="wp-block-comment-author-name">
218218 <a rel="external nofollow ugc" href="http://example.com/author-url/" target="_self" >
219219 Test
220220 </a>
@@ -226,7 +226,7 @@ function test_rendering_comment_template_nested() {
226226 </ol>
227227 </li>
228228 <li id="comment- {$ first_level_ids [1 ]}" class="comment even depth-2">
229- <div class="has-small-font-size wp-block-comment-author-name">
229+ <div class="wp-block-comment-author-name">
230230 <a rel="external nofollow ugc" href="http://example.com/author-url/" target="_self" >
231231 Test
232232 </a>
0 commit comments