File tree Expand file tree Collapse file tree
tests/phpunit/tests/admin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ public function test_sortable_columns_with_current_ordering() {
202202 */
203203 public function test_get_views_should_return_views_by_default () {
204204 $ expected = array (
205- 'all ' => '<a href="http://example.org/wp-admin/edit-comments.php?comment_status=all">All <span class="count">(<span class="all-count">0</span>)</span></a> ' ,
205+ 'all ' => '<a href="http://example.org/wp-admin/edit-comments.php?comment_status=all" class="current" aria-current="page" >All <span class="count">(<span class="all-count">0</span>)</span></a> ' ,
206206 'mine ' => '<a href="http://example.org/wp-admin/edit-comments.php?comment_status=mine&user_id=0">Mine <span class="count">(<span class="mine-count">0</span>)</span></a> ' ,
207207 'moderated ' => '<a href="http://example.org/wp-admin/edit-comments.php?comment_status=moderated">Pending <span class="count">(<span class="pending-count">0</span>)</span></a> ' ,
208208 'approved ' => '<a href="http://example.org/wp-admin/edit-comments.php?comment_status=approved">Approved <span class="count">(<span class="approved-count">0</span>)</span></a> ' ,
You can’t perform that action at this time.
0 commit comments