Skip to content

Commit 1580f3c

Browse files
author
costdev
committed
F: tests: comments
1 parent 7879736 commit 1580f3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/phpunit/tests/admin/wpCommentsListTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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&#038;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>',

0 commit comments

Comments
 (0)