X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fblock%2Ftests%2Fsrc%2FFunctional%2FBlockTest.php;fp=web%2Fcore%2Fmodules%2Fblock%2Ftests%2Fsrc%2FFunctional%2FBlockTest.php;h=53b48662cd234f1d22ffcfef4914d12a201b901e;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=7518c82dc136e7351421733889510c7829044f64;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/modules/block/tests/src/Functional/BlockTest.php b/web/core/modules/block/tests/src/Functional/BlockTest.php index 7518c82dc..53b48662c 100644 --- a/web/core/modules/block/tests/src/Functional/BlockTest.php +++ b/web/core/modules/block/tests/src/Functional/BlockTest.php @@ -146,7 +146,7 @@ class BlockTest extends BlockTestBase { $block_name = 'system_powered_by_block'; $add_url = Url::fromRoute('block.admin_add', [ 'plugin_id' => $block_name, - 'theme' => $default_theme + 'theme' => $default_theme, ]); $links = $this->xpath('//a[contains(@href, :href)]', [':href' => $add_url->toString()]); $this->assertEqual(1, count($links), 'Found one matching link.'); @@ -537,14 +537,14 @@ class BlockTest extends BlockTestBase { $this->assertEqual($block->getVisibility()['user_role']['roles'], [ $role1->id() => $role1->id(), - $role2->id() => $role2->id() + $role2->id() => $role2->id(), ]); $role1->delete(); $block = Block::load($block->id()); $this->assertEqual($block->getVisibility()['user_role']['roles'], [ - $role2->id() => $role2->id() + $role2->id() => $role2->id(), ]); }