Mercurial > hg > isophonics-drupal-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
46 $this->createTerm($this->vocabulary); | 46 $this->createTerm($this->vocabulary); |
47 } | 47 } |
48 | 48 |
49 // Get Page 1. | 49 // Get Page 1. |
50 $this->drupalGet('admin/structure/taxonomy/manage/' . $this->vocabulary->id() . '/overview'); | 50 $this->drupalGet('admin/structure/taxonomy/manage/' . $this->vocabulary->id() . '/overview'); |
51 $this->assertNoPattern('|<nav class="pager" [^>]*>|', 'Pager is not visible on page 1'); | 51 $this->assertSession()->responseNotMatches('|<nav class="pager" [^>]*>|', 'Pager is not visible on page 1'); |
52 | 52 |
53 // Create 3 more terms to show pager. | 53 // Create 3 more terms to show pager. |
54 for ($x = 1; $x <= 3; $x++) { | 54 for ($x = 1; $x <= 3; $x++) { |
55 $this->createTerm($this->vocabulary); | 55 $this->createTerm($this->vocabulary); |
56 } | 56 } |