Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eca-3378283
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
eca-3378283
Commits
034fda09
Commit
034fda09
authored
3 years ago
by
Jürgen Haas
Browse files
Options
Downloads
Patches
Plain Diff
Fix test
parent
086ad8e6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/src/Kernel/TokenTest.php
+6
-3
6 additions, 3 deletions
tests/src/Kernel/TokenTest.php
with
6 additions
and
3 deletions
tests/src/Kernel/TokenTest.php
+
6
−
3
View file @
034fda09
...
...
@@ -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'
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment