593a594,607 > diff --git a/core/modules/filter/lib/Drupal/filter/Tests/FilterAdminTest.php b/core/modules/filter/lib/Drupal/filter/Tests/FilterAdminTest.php > index 4d28fa6..81d5321 100644 > --- a/core/modules/filter/lib/Drupal/filter/Tests/FilterAdminTest.php > +++ b/core/modules/filter/lib/Drupal/filter/Tests/FilterAdminTest.php > @@ -143,8 +143,7 @@ function testFilterAdmin() { > $this->drupalGet('admin/config/content/formats/' . $basic); > $this->assertFieldByName('filters[filter_html][settings][allowed_html]', $edit['filters[filter_html][settings][allowed_html]'], 'Allowed HTML tag added.'); > > - $result = db_query('SELECT * FROM {cache_filter}')->fetchObject(); > - $this->assertFalse($result, 'Cache cleared.'); > + $this->assertTrue(cache('filter')->isEmpty(), 'Cache cleared.'); > > $elements = $this->xpath('//select[@name=:first]/following::select[@name=:second]', array( > ':first' => 'filters[' . $first_filter . '][weight]',