Skip to content

Commit

Permalink
Ensure languages in tests have a label set (#1384)
Browse files Browse the repository at this point in the history
This ensures that the language configuration passes schema validation.

---------

Co-authored-by: Alexander Varwijk <[email protected]>
  • Loading branch information
chrfritsch and Kingdutch authored Dec 20, 2023
1 parent e6034e9 commit 1f72a46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/Kernel/GraphQLTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,13 @@ protected function setUp(): void {
ConfigurableLanguage::create([
'id' => 'fr',
'weight' => 1,
'label' => 'French',
])->save();

ConfigurableLanguage::create([
'id' => 'de',
'weight' => 2,
'label' => 'German',
])->save();

$this->builder = new ResolverBuilder();
Expand Down

0 comments on commit 1f72a46

Please sign in to comment.