Move all files to drupal-8-phpunit-deprecation/
This commit is contained in:
parent
9a43be4a9c
commit
7294cf6a75
11 changed files with 0 additions and 0 deletions
|
|
@ -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.');
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue