Skip to content
Snippets Groups Projects
Commit 034fda09 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

Fix test

parent 086ad8e6
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ use Drupal\node\Entity\NodeType;
*/
class TokenTest extends KernelTestBase {
protected static array $modules = [
protected static $modules = [
'system',
'user',
'field',
......@@ -23,7 +23,10 @@ class TokenTest extends KernelTestBase {
'eca',
];
protected string $defaultTheme = 'stark';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
......@@ -38,7 +41,7 @@ class TokenTest extends KernelTestBase {
/**
* Tests token replacement for Views tokens supplied by the Node module.
*/
public function testTokenAlias(): void {
public function testTokenAlias() {
// Create the Article content type with a standard body field.
/** @var \Drupal\node\NodeTypeInterface $node_type */
$node_type = NodeType::create(['type' => 'article', 'name' => 'Article']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment