Tests: Add a @ticket reference for the current_theme_supports-{$feature} filter test.

Follow-up to [19682], [495/tests].

Props azouamauriac.
See #54725.

git-svn-id: https://develop.svn.wordpress.org/trunk@52798 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-02-25 13:07:25 +00:00
parent ee201606fb
commit 06b740f5f6

View File

@ -149,6 +149,9 @@ class Tests_Theme_Support extends WP_UnitTestCase {
return false;
}
/**
* @ticket 11611
*/
public function test_plugin_hook() {
$this->assertFalse( current_theme_supports( 'foobar' ) );
add_theme_support( 'foobar' );