mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Use @expectedDeprecated. see #25282, [25408].
git-svn-id: https://develop.svn.wordpress.org/trunk@25409 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
* @group themes
|
||||
*/
|
||||
class Tests_Admin_includesTheme extends WP_UnitTestCase {
|
||||
protected $deprecated_functions = array( 'get_theme', 'get_themes', 'get_theme_data', 'get_current_theme' );
|
||||
|
||||
function setUp() {
|
||||
parent::setUp();
|
||||
@@ -40,6 +39,8 @@ class Tests_Admin_includesTheme extends WP_UnitTestCase {
|
||||
/**
|
||||
* @ticket 10959
|
||||
* @ticket 11216
|
||||
* @expectedDeprecated get_theme
|
||||
* @expectedDeprecated get_themes
|
||||
*/
|
||||
function test_page_templates() {
|
||||
$theme = get_theme( 'Page Template Theme' );
|
||||
|
||||
Reference in New Issue
Block a user