Skip to content

Commit 1f72a46

Browse files
Ensure languages in tests have a label set (#1384)
This ensures that the language configuration passes schema validation. --------- Co-authored-by: Alexander Varwijk <[email protected]>
1 parent e6034e9 commit 1f72a46

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/src/Kernel/GraphQLTestBase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,13 @@ protected function setUp(): void {
8282
ConfigurableLanguage::create([
8383
'id' => 'fr',
8484
'weight' => 1,
85+
'label' => 'French',
8586
])->save();
8687

8788
ConfigurableLanguage::create([
8889
'id' => 'de',
8990
'weight' => 2,
91+
'label' => 'German',
9092
])->save();
9193

9294
$this->builder = new ResolverBuilder();

0 commit comments

Comments
 (0)