Move all files to test-driven-drupal/demo/drupal-london/

This commit is contained in:
Oliver Davies 2025-10-02 12:31:37 +01:00
parent 0db961b741
commit 695d8b0299
44 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,31 @@
<?php
namespace Drupal\Tests\example\Functional;
use Drupal\Tests\BrowserTestBase;
use Symfony\Component\HttpFoundation\Response;
final class ExamplePageTest extends BrowserTestBase {
public $defaultTheme = 'stark';
protected static $modules = [
// Core.
'node',
// Custom.
"example"
];
/** @test */
public function should_load_the_example_page_for_anonymous_users(): void {
// Arrange.
// Act.
$this->drupalGet('/@opdavies/drupal-module-template');
// Assert.
$this->assertSession()->statusCodeEquals(Response::HTTP_OK);
}
}