-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Artisan asserts not working with textarea #131
Comments
@jessarcher @joetannenbaum do we still need to adjust something to make this work? |
I think we can use https://symfony.com/doc/current/components/console/helpers/questionhelper.html#accept-multiline-answers. Failing that, we can probably fall back to a single-line prompt. On a separate note, I'm curious why Symfony uses Will jump onto this next week unless @joetannenbaum beats me to it. |
@jessarcher sorry I have 2 Github accounts going - does laravel/framework#51055 address this? I also found some other issues with assertions when writing those tests but need that PR to be merged as I want to keep the PRs separate and add more tests to fix the other assertion problems. |
laravel/framework#51055 should fix this 👍 |
Laravel Prompts Version
0.1.18
Laravel Version
11.3.1
PHP Version
8.2
Operating System & Version
14.2
Terminal Application
zsh
Description
When using a
text
input, you can useexpectsQuestion
when running artisan tests but when using atextarea
, the tests hang.Steps To Reproduce
./vendor/bin/test
I'm not quite sure if this is a Prompts issue or Framework issue but I had a dive into the source and could not work out what could be causing this.
The text was updated successfully, but these errors were encountered: