Skip to content
Snippets Groups Projects
Commit f1dd2647 authored by Eirik Morland's avatar Eirik Morland
Browse files

Issue #3448074 by eiriksm: Undefined index when running tests

parent af12ffaa
No related branches found
No related tags found
1 merge request!58Update KernelTestBase.php
Pipeline #176125 passed with warnings
......@@ -29,6 +29,7 @@ abstract class KernelTestBase extends CoreKernelTestBase {
'system',
'user',
'field',
'text',
];
/**
......@@ -44,6 +45,7 @@ abstract class KernelTestBase extends CoreKernelTestBase {
$this->nodeType = $node_type;
$this->installEntitySchema('user');
$this->installEntitySchema('node');
$this->installConfig(static::$modules);
// Create the field for holding members.
$fieldStorage = FieldStorageConfig::create([
'field_name' => 'field_team_members',
......
administer all teams:
restrict_access: true
description: Administer all teams
\ No newline at end of file
description: Administer all teams. Ignore requirements about being a member of a team.
title: Administer all teams
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