X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fblock%2Ftests%2Fsrc%2FUnit%2FBlockRepositoryTest.php;fp=web%2Fcore%2Fmodules%2Fblock%2Ftests%2Fsrc%2FUnit%2FBlockRepositoryTest.php;h=f522b2b8422868a66422fc325db6ecc890f39399;hp=5584b0bfdda8aa4cbd82d205eb6ce059e87bb1e7;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/web/core/modules/block/tests/src/Unit/BlockRepositoryTest.php b/web/core/modules/block/tests/src/Unit/BlockRepositoryTest.php index 5584b0bfd..f522b2b84 100644 --- a/web/core/modules/block/tests/src/Unit/BlockRepositoryTest.php +++ b/web/core/modules/block/tests/src/Unit/BlockRepositoryTest.php @@ -118,21 +118,21 @@ class BlockRepositoryTest extends UnitTestCase { public function providerBlocksConfig() { $blocks_config = [ 'block1' => [ - AccessResult::allowed(), 'top', 0 + AccessResult::allowed(), 'top', 0, ], // Test a block without access. 'block2' => [ - AccessResult::forbidden(), 'bottom', 0 + AccessResult::forbidden(), 'bottom', 0, ], // Test some blocks in the same region with specific weight. 'block4' => [ - AccessResult::allowed(), 'bottom', 5 + AccessResult::allowed(), 'bottom', 5, ], 'block3' => [ - AccessResult::allowed(), 'bottom', 5 + AccessResult::allowed(), 'bottom', 5, ], 'block5' => [ - AccessResult::allowed(), 'bottom', -5 + AccessResult::allowed(), 'bottom', -5, ], ]; @@ -142,7 +142,7 @@ class BlockRepositoryTest extends UnitTestCase { 'top' => ['block1'], 'center' => [], 'bottom' => ['block5', 'block3', 'block4'], - ] + ], ]; return $test_cases; }