WordPress.org

Make WordPress Core

Changeset 34857


Ignore:
Timestamp:
10/06/2015 05:47:17 AM (6 years ago)
Author:
pento
Message:

Tests: Dequeue the styles and scripts enqueued by Test_WP_Customize_Nav_Menus::test_enqueue_scripts().

Fixes #34163.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/customize/nav-menus.php

    r34488 r34857  
    339339        $menus->enqueue_scripts();
    340340        $this->assertTrue( wp_script_is( 'customize-nav-menus' ) );
     341
     342        wp_dequeue_style( 'customize-nav-menus' );
     343        wp_dequeue_script( 'customize-nav-menus' );
    341344    }
    342345
Note: See TracChangeset for help on using the changeset viewer.