diff core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php	Thu Feb 28 13:21:36 2019 +0000
+++ b/core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php	Thu May 09 15:33:08 2019 +0100
@@ -48,7 +48,7 @@
 
     // Get Page 1.
     $this->drupalGet('admin/structure/taxonomy/manage/' . $this->vocabulary->id() . '/overview');
-    $this->assertNoPattern('|<nav class="pager" [^>]*>|', 'Pager is not visible on page 1');
+    $this->assertSession()->responseNotMatches('|<nav class="pager" [^>]*>|', 'Pager is not visible on page 1');
 
     // Create 3 more terms to show pager.
     for ($x = 1; $x <= 3; $x++) {