Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Remove test setup code that is not used
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jul 6, 2016
1 parent bce3453 commit adca567
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/php/test-class-customize-snapshot-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@ class Test_Customize_Snapshot_Manager extends \WP_UnitTestCase {
*/
const UUID = '65aee1ff-af47-47df-9e14-9c69b3017cd3';

/**
* Typical Snapshot menu ID.
* @type string
*/
const NAV_MENU_ITEM_ID = '-1757032258044647400';

/**
* @var \WP_Customize_Manager
*/
Expand Down Expand Up @@ -55,8 +49,6 @@ function setUp() {

$this->wp_customize->add_setting( 'foo', array( 'default' => 'foo_default' ) );
$this->wp_customize->add_setting( 'bar', array( 'default' => 'bar_default' ) );
$this->wp_customize->add_setting( 'nav_menu_locations[foobar]', array( 'default' => '' ) );
$this->wp_customize->add_setting( 'nav_menu['. self::NAV_MENU_ITEM_ID . ']', array( 'default' => array() ) );

$this->manager = new Customize_Snapshot_Manager( $this->plugin );
$this->user_id = $this->factory->user->create( array( 'role' => 'administrator' ) );
Expand Down

0 comments on commit adca567

Please sign in to comment.