Skip to content

Commit 54d4064

Browse files
author
costdev
committed
F: tests: post comments
1 parent 1580f3c commit 54d4064

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/phpunit/tests/admin/wpPostCommentsListTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function set_up() {
2424
*/
2525
public function test_get_views_should_return_views_by_default() {
2626
$expected = array(
27-
'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>',
27+
'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>',
2828
'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>',
2929
'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>',
3030
'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)