Skip to content
Snippets Groups Projects
Commit 101cc7bb authored by BRIAN STANNARD's avatar BRIAN STANNARD
Browse files

Adjust when the initial node is created in the test

parent aac1b484
No related branches found
No related tags found
1 merge request!79Provide a version parameter to entity by id queries to provide the latest or...
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment