Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 65df3ca4 authored by escuriola's avatar escuriola Committed by drishu
Browse files

OEL-1552: Minor changes in test file. Moving closing array and function to the same file.

parent a63fe2a1
No related branches found
No related tags found
1 merge request!162OEL-1552: Theme the person content type
......@@ -263,8 +263,7 @@ class PersonContentRenderTest extends WhitelabelBrowserTestBase {
'type' => 'oe_document',
'oe_document' => $media_document,
'status' => 1,
],
);
]);
$document_reference->save();
$document_group_reference = \Drupal::entityTypeManager()
->getStorage('oe_document_reference')
......@@ -273,8 +272,7 @@ class PersonContentRenderTest extends WhitelabelBrowserTestBase {
'oe_title' => 'Curriculum Vitae',
'oe_documents' => [$media_document, $media_document],
'status' => 1,
],
);
]);
$document_reference->save();
$node->set('oe_summary', 'This field is used to add a short biography of the person.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment