Skip to content

Commit

Permalink
refs #190: updating sdc func test.
Browse files Browse the repository at this point in the history
  • Loading branch information
PierrePaul committed Oct 28, 2024
1 parent 114a489 commit bf246fe
Showing 1 changed file with 31 additions and 29 deletions.
60 changes: 31 additions & 29 deletions tests/functional/Generator/SingleDirectoryComponentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
Expand Down

0 comments on commit bf246fe

Please sign in to comment.