Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/phpunit/tests/term.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public function test_wp_set_term_objects_finds_term_name_with_special_characters
*
* @return array
*/
public function data_wp_set_term_objects_finds_term_name_with_special_characters() {
public static function data_wp_set_term_objects_finds_term_name_with_special_characters() {
return array(
'ampersand' => array( 'name' => 'Foo & Bar' ),
'ndash and mdash' => array( 'name' => 'Foo – Bar' ),
Expand Down Expand Up @@ -406,7 +406,7 @@ static function () use ( $cat ) {
*
* @return array[]
*/
public function data_get_term_filter() {
public static function data_get_term_filter() {
return self::text_array_to_dataprovider( array( 'edit', 'db', 'display', 'attribute', 'js', 'rss', 'raw' ) );
}
}
Loading