mirror of
git://develop.git.wordpress.org/
synced 2025-03-24 05:49:49 +01:00
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:
parent
ee201606fb
commit
06b740f5f6
@ -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' );
|
||||
|
Loading…
x
Reference in New Issue
Block a user