Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / paragraphs / src / Tests / Classic / ParagraphsFieldGroupTest.php
index 4c2a660c53d8ced4409be93c4f367bbc4d323435..2adee34a656b82e34453efd1fcf0b4e80d5e4bd1 100644 (file)
@@ -29,7 +29,7 @@ class ParagraphsFieldGroupTest extends ParagraphsTestBase {
     $content_type = 'paragraphed_test';
 
     // Add a Paragraphed test content type.
-    $this->addParagraphedContentType($content_type, 'field_paragraphs');
+    $this->addParagraphedContentType($content_type, 'field_paragraphs', 'entity_reference_paragraphs');
     $this->addParagraphsType($paragraph_type);
     $this->addParagraphsType('text');
     static::fieldUIAddNewField('admin/structure/paragraphs_type/' . $paragraph_type, 'text', 'Text', 'text_long', [], []);
@@ -65,6 +65,6 @@ class ParagraphsFieldGroupTest extends ParagraphsTestBase {
       'title[0][value]' => 'paragraphed_title',
       'field_paragraphs[0][subform][field_text][0][value]' => 'paragraph_value',
     ];
-    $this->drupalPostForm(NULL, $edit, t('Save and publish'));
+    $this->drupalPostForm(NULL, $edit, t('Save'));
   }
 }