Make WordPress Core

Changeset 35754


Ignore:
Timestamp:
12/01/2015 08:55:22 PM (9 years ago)
Author:
wonderboymusic
Message:

Customize Unit Tests: also remove_action( 'after_setup_theme', 'twentysixteen_setup' ). TwentyFifteen is already removed.

See #31550.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/customize/widgets.php

    r35724 r35754  
    3737        $this->assertEquals( '', $widget_categories[2]['title'] );
    3838
    39         remove_action( 'after_setup_theme', 'twentyfifteen_setup' ); // @todo We should not be including a theme anyway
     39        // @todo We should not be including a theme anyway
     40        remove_action( 'after_setup_theme', 'twentyfifteen_setup' );
     41        remove_action( 'after_setup_theme', 'twentysixteen_setup' );
    4042
    4143        $user_id = self::factory()->user->create( array( 'role' => 'administrator' ) );
Note: See TracChangeset for help on using the changeset viewer.