diff --git a/tests/src/Functional/Core/EntityVersionTest.php b/tests/src/Functional/Core/EntityVersionTest.php index 043bb10e577c464f6b3f742c0e45db7bb02f1319..933714c20ee6db251a6d727c57ad04b580a3f2db 100644 --- a/tests/src/Functional/Core/EntityVersionTest.php +++ b/tests/src/Functional/Core/EntityVersionTest.php @@ -42,17 +42,18 @@ class EntityVersionTest extends GraphQLComposeBrowserTestBase { 'name' => 'Node test type', ]); + $this->createLanguageFromLangcode('ja'); + $this->createLanguageFromLangcode('de'); + + $this->enableBundleTranslation('node', 'test'); + $this->node = $this->createNode([ 'type' => 'test', 'title' => 'Test', 'status' => 1, + 'langcode' => 'en', ]); - $this->createLanguageFromLangcode('ja'); - $this->createLanguageFromLangcode('de'); - - $this->enableBundleTranslation('node', 'test'); - $this->node->addTranslation('ja', [ 'title' => 'Test (JA)', ])->save();