Code Editor: Fix phpunit tests related to gutters after [41974].

See #12423.


git-svn-id: https://develop.svn.wordpress.org/trunk@41994 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2017-10-24 16:57:10 +00:00
parent 7ddfa7c135
commit a411d5571a

View File

@ -753,9 +753,11 @@ class Tests_Dependencies_Scripts extends WP_UnitTestCase {
'matchTags', 'matchTags',
'mode', 'mode',
'styleActiveLine', 'styleActiveLine',
'gutters',
), ),
array_keys( $wp_enqueue_code_editor['codemirror'] ) array_keys( $wp_enqueue_code_editor['codemirror'] )
); );
$this->assertEmpty( $wp_enqueue_code_editor['codemirror']['gutters'] );
$this->assertEqualSets( $this->assertEqualSets(
array( array(
@ -833,9 +835,11 @@ class Tests_Dependencies_Scripts extends WP_UnitTestCase {
'lineWrapping', 'lineWrapping',
'mode', 'mode',
'styleActiveLine', 'styleActiveLine',
'gutters',
), ),
array_keys( $wp_enqueue_code_editor['codemirror'] ) array_keys( $wp_enqueue_code_editor['codemirror'] )
); );
$this->assertEmpty( $wp_enqueue_code_editor['codemirror']['gutters'] );
$this->assertEqualSets( $this->assertEqualSets(
array( array(