diff --git a/tests/Templating/Twig/NetgenEnhancedSelectionRuntimeTest.php b/tests/Templating/Twig/NetgenEnhancedSelectionRuntimeTest.php index f925477..a2068a4 100644 --- a/tests/Templating/Twig/NetgenEnhancedSelectionRuntimeTest.php +++ b/tests/Templating/Twig/NetgenEnhancedSelectionRuntimeTest.php @@ -47,7 +47,7 @@ public function testGetSelectionName(): void { $fieldIdentifier = 'some_field'; $selectionValue = new Value(['some_name', 'some_name_2']); - $field = new Field(['value' => $selectionValue, 'fieldDefIdentifier' => $fieldIdentifier]); + $field = new Field(['value' => $selectionValue, 'fieldDefIdentifier' => $fieldIdentifier, 'languageCode' => 'eng-GB']); $contentInfo = new ContentInfo(['contentTypeId' => 12345, 'mainLanguageCode' => 'eng-GB']); $versionInfo = new VersionInfo(['contentInfo' => $contentInfo]);