Laravel artisan command produces no output in the unit test. #33242
Unanswered
CaliforniaMountainSnake
asked this question in
General
Replies: 2 comments
-
I have something like this: https://laracasts.com/discuss/channels/laravel/test-laravel-console-command-from-package But |
Beta Was this translation helpful? Give feedback.
0 replies
-
Lol, yes, ignore issues and make them discussions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
I have the following code in the unit test, that just run the migrations:
And I don't get any output from the artisan
migrate
command (or from another else):So, I didn't get any output between
Migrations: executing...
andMigrations: executed.
But I see that migrations applied correctly, tables were created, just not output from the command.
Also, I got expected output if I run the command from the system:
php artisan migrate
.How can I fix the absence of the output from the artisan command running in the unit test?
Beta Was this translation helpful? Give feedback.
All reactions