diff --git a/tests/functional/Generator/SingleDirectoryComponentTest.php b/tests/functional/Generator/SingleDirectoryComponentTest.php index 96eb5982..d5c6d547 100644 --- a/tests/functional/Generator/SingleDirectoryComponentTest.php +++ b/tests/functional/Generator/SingleDirectoryComponentTest.php @@ -44,48 +44,49 @@ public function testGenerator(): void { $this->execute(SingleDirectoryComponent::class, $input); $expected_display = <<< 'TXT' - + Welcome to sdc generator! ––––––––––––––––––––––––––– - + Theme machine name: - ➤ + ➤ foo + Theme name [Foo]: - ➤ - + ➤ + Component name: - ➤ - + ➤ + Component machine name [bar]: - ➤ - + ➤ + Component description (optional): - ➤ - + ➤ + Library dependencies (optional). [Example: core/once]: - ➤ + ➤ core/drupal Library dependencies (optional). [Example: core/once]: - ➤ - + ➤ + Need CSS? [Yes]: - ➤ - + ➤ + Need JS? [Yes]: - ➤ - + ➤ + Need component props? [Yes]: - ➤ + ➤ Prop title: - ➤ + ➤ Prop machine name [cta_text]: - ➤ + ➤ Prop description (optional): - ➤ + ➤ Prop type [String]: [1] String @@ -94,25 +95,26 @@ public function testGenerator(): void { [4] Array [5] Object [6] Always null - ➤ + ➤ String + Add another prop? [Yes]: - ➤ + ➤ Need slots? [Yes]: - ➤ + ➤ Slot title: - ➤ + ➤ Slot machine name [my_slot]: - ➤ + ➤ Slot description (optional): - ➤ + ➤ Add another slot? [Yes]: - ➤ + ➤ The following directories and files have been created or updated: –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––