Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Fix ErrorException during artisan module:crud #9

Merged
merged 1 commit into from
Jun 13, 2016
Merged

Fix ErrorException during artisan module:crud #9

merged 1 commit into from
Jun 13, 2016

Conversation

TheoKouzelis
Copy link
Contributor

The following error occurs while running php artisan module:crud ModuleName

ErrorException: Undefined index: tests_generated in /home/vagrant/laravel-project/vendor/yab/laracogs/src/Generators/CrudGenerator.php:188

With this new line the tests are now generated for the crud module.

The following error occurs while running php artisan module:crud ModuleName
```
ErrorException: Undefined index: tests_generated in /home/vagrant/laravel-project/vendor/yab/laracogs/src/Generators/CrudGenerator.php:188
```
With this new line the tests are now generated for the crud module.
@mlantz
Copy link
Member

mlantz commented Jun 13, 2016

I knew I was missing something - thanks :)

@mlantz mlantz merged commit c5021de into GrafiteInc:master Jun 13, 2016
@allen-li-webpower
Copy link

It is still has one error

$ php artisan module:crud Product
Building the admin side...
Building controller...

[ErrorException]
Undefined index: ucCamel_casePlural

@allen-li-webpower
Copy link

ucCamel_casePlural should rename to Camel_casePlural

@mlantz
Copy link
Member

mlantz commented Nov 25, 2016

Did you pull in the latest version? The unit tests seem to be working correctly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants