samedi 9 mars 2019

phpunit errorexception after renaming command?

When I run phpunit I get the following error message:

Cannot declare class App\Console\Commands\ImportNewArtikel, because the name is already in use

enter image description here

I do not understand this, all my other commands have a different name.

However, to get rid of the error, I decided to rename the file & class name to ImportoNewArtikel. Now I get this error:

ErrorException: include(/home/www/pretty.dev/vendor/composer/../../app/Console/Commands/ImportNewArtikel.php): failed to open stream: No such file or directory

enter image description here

Why is he looking for ImportNewArtikel.php? I have renamed it. How can I run phpunit?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire