From a411d5571ab13a1bab79c5fd0752d912a2d9383c Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Tue, 24 Oct 2017 16:57:10 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/dependencies/scripts.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/phpunit/tests/dependencies/scripts.php b/tests/phpunit/tests/dependencies/scripts.php index c7d3f813ef..4dc248279e 100644 --- a/tests/phpunit/tests/dependencies/scripts.php +++ b/tests/phpunit/tests/dependencies/scripts.php @@ -753,9 +753,11 @@ class Tests_Dependencies_Scripts extends WP_UnitTestCase { 'matchTags', 'mode', 'styleActiveLine', + 'gutters', ), array_keys( $wp_enqueue_code_editor['codemirror'] ) ); + $this->assertEmpty( $wp_enqueue_code_editor['codemirror']['gutters'] ); $this->assertEqualSets( array( @@ -833,9 +835,11 @@ class Tests_Dependencies_Scripts extends WP_UnitTestCase { 'lineWrapping', 'mode', 'styleActiveLine', + 'gutters', ), array_keys( $wp_enqueue_code_editor['codemirror'] ) ); + $this->assertEmpty( $wp_enqueue_code_editor['codemirror']['gutters'] ); $this->assertEqualSets( array(