diff --git a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyIndexTidUiTest.php b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyIndexTidUiTest.php index 7a3fbe2a4b..ac3ae5e8dd 100644 --- a/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyIndexTidUiTest.php +++ b/core/modules/taxonomy/tests/src/Functional/Views/TaxonomyIndexTidUiTest.php @@ -188,7 +188,7 @@ public function testFilterUIWithMoreVocabularies() { $edit = [ 'options[operator]' => 'and', 'options[value]' => '', - 'options[reduce_duplicates]' => TRUE + 'options[reduce_duplicates]' => TRUE, ]; $this->drupalPostForm(NULL, $edit, 'Apply'); $this->drupalPostForm(NULL, [], 'Save'); @@ -199,29 +199,29 @@ public function testFilterUIWithMoreVocabularies() { $xpath = $this->xpath('//div[@class="view-content"]//a'); $this->assertIdentical(2, count($xpath)); $xpath = $this->xpath('//div[@class="view-content"]//a[@href=:href]', [ - ':href' => $node0->toUrl()->toString() + ':href' => $node0->toUrl()->toString(), ]); $this->assertIdentical(1, count($xpath)); $xpath = $this->xpath('//div[@class="view-content"]//a[@href=:href]', [ - ':href' => $node2->toUrl()->toString() + ':href' => $node2->toUrl()->toString(), ]); $this->assertIdentical(1, count($xpath)); $this->drupalGet('test-filter-taxonomy-index-tid', ['query' => ['tid' => "t2 ({$terms2[0][0]->id()})"]]); $xpath = $this->xpath('//div[@class="view-content"]//a'); $this->assertIdentical(2, count($xpath)); $xpath = $this->xpath('//div[@class="view-content"]//a[@href=:href]', [ - ':href' => $node1->toUrl()->toString() + ':href' => $node1->toUrl()->toString(), ]); $this->assertIdentical(1, count($xpath)); $xpath = $this->xpath('//div[@class="view-content"]//a[@href=:href]', [ - ':href' => $node2->toUrl()->toString() + ':href' => $node2->toUrl()->toString(), ]); $this->assertIdentical(1, count($xpath)); $this->drupalGet('test-filter-taxonomy-index-tid', ['query' => ['tid' => "t1 ({$this->terms[0][0]->id()}), t2 ({$terms2[0][0]->id()})"]]); $xpath = $this->xpath('//div[@class="view-content"]//a'); $this->assertIdentical(1, count($xpath)); $xpath = $this->xpath('//div[@class="view-content"]//a[@href=:href]', [ - ':href' => $node2->toUrl()->toString() + ':href' => $node2->toUrl()->toString(), ]); $this->assertIdentical(1, count($xpath)); }