X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Ftoken%2Fsrc%2FTests%2FTree%2FTreeTest.php;h=7c72434765c6bdd97769503869ab50430a896154;hp=ed1dd3cad4a856358c29986adf8da0af6095e1f3;hb=059867c3f96750652c80f39e44c442a58c2549ee;hpb=f8fc16ae6b862bef59baaad5d051dd37b7ff11b2 diff --git a/web/modules/contrib/token/src/Tests/Tree/TreeTest.php b/web/modules/contrib/token/src/Tests/Tree/TreeTest.php index ed1dd3cad..7c7243476 100644 --- a/web/modules/contrib/token/src/Tests/Tree/TreeTest.php +++ b/web/modules/contrib/token/src/Tests/Tree/TreeTest.php @@ -137,7 +137,7 @@ class TreeTest extends TokenTestBase { protected function getTokenTreeUrl($options = []) { $this->drupalGet('token_module_test/browse'); $this->assertTitle('Available Tokens | Drupal'); - $links = $this->xpath('//a[contains(@href, :href)]/@href', array(':href' => 'token/tree')); + $links = $this->xpath('//a[contains(@href, :href)]/@href', [':href' => 'token/tree']); $link = $this->getAbsoluteUrl((string) current($links)); if (!empty($options)) { $options = Json::encode($options);