Tests\Feature\BlogTest > user can delete post 162 Illuminate\Encryption\MissingAppKeyException No application encryption key has been specified. code example
Example 1: RuntimeException: No application encryption key has been specified.
php artisan key:generate
Example 2: No application encryption key has been specified.
You should use the php artisan key:generate command to generate this key"
Example 3: Tests\Feature\BlogTest > user can delete post 162 Illuminate\Encryption\MissingAppKeyException No application encryption key has been specified.
Tests\Feature\BlogTest > user can delete post 162
Illuminate\Encryption\MissingAppKeyException
No application encryption key has been specified.
php artisan key:generate --env=testing #