- Timestamp:
- 09/19/2022 09:06:08 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php
r53942 r54215 199 199 ); 200 200 } 201 202 /** 203 * @ticket 42066 204 * 205 * @covers WP_Privacy_Requests_List_Table::get_views 206 */ 207 public function test_get_views_should_return_views_by_default() { 208 $expected = array( 209 'all' => '<a href="http://example.org/wp-admin/export-personal-data.php" class="current" aria-current="page">All <span class="count">(0)</span></a>', 210 ); 211 212 $this->assertSame( $expected, $this->get_mocked_class_instance()->get_views() ); 213 } 201 214 }
Note: See TracChangeset
for help on using the changeset viewer.