Update Drupal configuration files

Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
Oliver Davies 2025-10-08 22:00:52 +01:00
parent 7671099aea
commit 96ac446aa5
22 changed files with 309 additions and 14 deletions

View file

@ -0,0 +1,24 @@
<?php
namespace Drupal\Tests\example\Functional;
use Drupal\Tests\BrowserTestBase;
class ExampleTest extends BrowserTestBase {
public $defaultTheme = 'stark';
public static $modules = [
'example',
'node',
];
public function test_it_loads_the_page(): void {
$this->drupalGet('/example');
$assert = $this->assertSession();
$assert->statusCodeEquals(200);
$assert->pageTextContains('This page is powered by Drupal and Nix.');
}
}