Skip to content
Snippets Groups Projects
Commit ad4d59a0 authored by Benjamin Melançon's avatar Benjamin Melançon
Browse files

Issue #3430221 by borisson_, mlncn: Automated Drupal 11 compatibility fixes...

Issue #3430221 by borisson_, mlncn: Automated Drupal 11 compatibility fixes for entity_reference_override
parent c087bcfc
Branches
Tags
1 merge request!7Closes issue #3517955: [error] "Reference" must be defined in MODULE_NAME.field_type_categories.yml
name: Entity Reference Override
type: module
description: Entity reference with overridable title
core_version_requirement: ^8 || ^9 || ^10
core_version_requirement: ^10.1 || ^11
package: Field types
test_dependencies:
- entity_browser:entity_browser
......@@ -20,7 +20,7 @@ class FormatterTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
public static $modules = [
protected static $modules = [
'entity_reference_override',
'system',
'entity_test',
......@@ -32,7 +32,7 @@ class FormatterTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->installSchema('system', ['sequences']);
......@@ -96,7 +96,7 @@ class FormatterTest extends KernelTestBase {
);
$output = $this->render($build);
$this->assertContains('test override', $output);
$this->assertStringContainsString('test override', $output);
}
/**
......@@ -133,7 +133,7 @@ class FormatterTest extends KernelTestBase {
);
$output = $this->render($build);
$this->assertContains('referenced entity', $output);
$this->assertStringContainsString('referenced entity', $output);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment