Loading block_component_library.info.yml +1 −1 Original line number Diff line number Diff line name: 'Block Component Library' type: module description: 'Provides a Block Component Library to use custom blocks as reusable components.' core_version_requirement: ^8.8 || ^9 core_version_requirement: ^8.9 || ^9 || ^10 package: 'Other' dependencies: - drupal:block Loading tests/src/Functional/LoadTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ class LoadTest extends BrowserTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->user = $this->drupalCreateUser(['administer site configuration', 'administer blocks']); $this->drupalLogin($this->user); Loading @@ -38,7 +38,7 @@ class LoadTest extends BrowserTestBase { /** * Tests that the home page loads with a 200 response. */ public function testLoad() { public function testLoad(): void { $this->drupalGet(Url::fromRoute('<front>')); $this->assertSession()->statusCodeEquals(200); } Loading Loading
block_component_library.info.yml +1 −1 Original line number Diff line number Diff line name: 'Block Component Library' type: module description: 'Provides a Block Component Library to use custom blocks as reusable components.' core_version_requirement: ^8.8 || ^9 core_version_requirement: ^8.9 || ^9 || ^10 package: 'Other' dependencies: - drupal:block Loading
tests/src/Functional/LoadTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ class LoadTest extends BrowserTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->user = $this->drupalCreateUser(['administer site configuration', 'administer blocks']); $this->drupalLogin($this->user); Loading @@ -38,7 +38,7 @@ class LoadTest extends BrowserTestBase { /** * Tests that the home page loads with a 200 response. */ public function testLoad() { public function testLoad(): void { $this->drupalGet(Url::fromRoute('<front>')); $this->assertSession()->statusCodeEquals(200); } Loading