diff --git a/modules/paragraphs_collection_demo/paragraphs_collection_demo.install b/modules/paragraphs_collection_demo/paragraphs_collection_demo.install index 8d4568a..a10995a 100644 --- a/modules/paragraphs_collection_demo/paragraphs_collection_demo.install +++ b/modules/paragraphs_collection_demo/paragraphs_collection_demo.install @@ -192,10 +192,11 @@ function paragraphs_collection_demo_install() { $field_config->setSetting('plugin_ids', $settings); $field_config->save(); + // PARAGRAPH DEMO ITEM: library items. $library_text_paragraph = Paragraph::create([ 'type' => 'text', 'field_text_demo' => [ - 'value' => 'This is content from the library.', + 'value' => 'This is content from the library. We can reuse it multiple times without duplicating it.', 'format' => 'plain_text', ], ]); diff --git a/modules/paragraphs_collection_demo/src/Tests/ParagraphsCollectionDemoTest.php b/modules/paragraphs_collection_demo/src/Tests/ParagraphsCollectionDemoTest.php index a4f66c6..331f0f7 100644 --- a/modules/paragraphs_collection_demo/src/Tests/ParagraphsCollectionDemoTest.php +++ b/modules/paragraphs_collection_demo/src/Tests/ParagraphsCollectionDemoTest.php @@ -48,7 +48,7 @@ class ParagraphsCollectionDemoTest extends ParagraphsExperimentalTestBase { $this->assertResponse(200); $this->assertLink('Welcome to the Paragraphs Demo module!'); $this->assertLink('Paragraphs Collection Demo Article!'); - $this->assertText('This is content from the library.'); + $this->assertText('This is content from the library. We can reuse it multiple times without duplicating it.'); } /**