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 <327697+Kingdutch@users.noreply.github.com>
1 parent e6034e9 commit 1f72a46

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)