core/modules/filter/lib/Drupal/filter/Tests/FilterAPITest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/modules/filter/lib/Drupal/filter/Tests/FilterAPITest.php b/core/modules/filter/lib/Drupal/filter/Tests/FilterAPITest.php index 8261a92..478bc55 100644 --- a/core/modules/filter/lib/Drupal/filter/Tests/FilterAPITest.php +++ b/core/modules/filter/lib/Drupal/filter/Tests/FilterAPITest.php @@ -66,7 +66,7 @@ function setUp() { } /** - * Tests the ability to apply only a subset of filters. + * Tests that the filter order is respected. */ function testCheckMarkupFilterOrder() { // Create crazy HTML format. @@ -80,7 +80,8 @@ function testCheckMarkupFilterOrder() { 'status' => 1, ), 'filter_html' => array( - 'status' => -10, + 'weight' => -10, + 'status' => 1, 'settings' => array( 'allowed_html' => '
', ),