Move all files to drupal-8-phpunit-deprecation/

This commit is contained in:
Oliver Davies 2025-09-29 22:53:25 +01:00
parent 9a43be4a9c
commit 7294cf6a75
11 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,24 @@
<?php
namespace Drupal\Tests\example\Functional;
use Drupal\Tests\BrowserTestBase;
class DisplayMessageTest extends BrowserTestBase {
protected $defaultTheme = 'stable';
protected static $modules = ['filter', 'node', 'example'];
/** @test */
public function a_message_is_displayed_on_nodes(): void {
$this->drupalCreateContentType(['type' => 'page']);
$this->drupalCreateNode();
$this->drupalGet('node/1');
$this->assertText('This is a node.');
}
}