diff --git a/tests/phpunit/tests/filters.php b/tests/phpunit/tests/filters.php index 51ada1f981..1f5bc8342d 100644 --- a/tests/phpunit/tests/filters.php +++ b/tests/phpunit/tests/filters.php @@ -202,7 +202,6 @@ class Tests_Filters extends WP_UnitTestCase { public function test_remove_all_filters_should_respect_the_priority_argument() { $a = new MockAction(); $tag = __FUNCTION__; - $val = __FUNCTION__ . '_val'; add_filter( $tag, array( $a, 'filter' ), 12 ); $this->assertTrue( has_filter( $tag ) ); @@ -313,7 +312,6 @@ class Tests_Filters extends WP_UnitTestCase { public function test_has_filter_after_remove_all_filters() { $a = new MockAction(); $tag = __FUNCTION__; - $val = __FUNCTION__ . '_val'; // No priority. add_filter( $tag, array( $a, 'filter' ), 11 );