diff --git a/tests/phpunit/tests/category/walkerCategory.php b/tests/phpunit/tests/category/walkerCategory.php index e13ce9bb1047a..4a8b35a44ae62 100644 --- a/tests/phpunit/tests/category/walkerCategory.php +++ b/tests/phpunit/tests/category/walkerCategory.php @@ -56,7 +56,7 @@ static function ( $atts ) use ( $value ) { $this->assertSame( "
  • term_id}\">{$category->name}", trim( $output ) ); } - public function data_start_el_with_empty_attributes() { + public static function data_start_el_with_empty_attributes() { return array( array( '',