drupalLogin($this->drupalCreateUser(['administer taxonomy', 'bypass node access'])); $this->vocabulary = $this->createVocabulary(); } /** * Tests that the pager is displayed properly on the term overview page. */ public function testTaxonomyTermOverviewPager() { // Set limit to 3 terms per page. $this->config('taxonomy.settings') ->set('terms_per_page_admin', '3') ->save(); // Create 3 terms. for ($x = 1; $x <= 3; $x++) { $this->createTerm($this->vocabulary); } // Get Page 1. $this->drupalGet('admin/structure/taxonomy/manage/' . $this->vocabulary->id() . '/overview'); $this->assertNoPattern('|