-
-
Notifications
You must be signed in to change notification settings - Fork 555
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
[generate:controller] Error: Does not have a method 'getTestPath' #3998
Milestone
Comments
reganking
added a commit
to reganking/drupal-console
that referenced
this issue
Feb 7, 2019
Merged
LOBsTerr
pushed a commit
that referenced
this issue
Feb 12, 2019
@reganking Thank you for your contribution. It has been merged |
This was referenced Jun 10, 2019
This was referenced Jul 18, 2019
This was referenced Aug 20, 2019
This was referenced Sep 6, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem/Motivation
generate:controller
results in error and creation of controller file at/
.Drupal version: 8.6.7.
Console version: 1.8.0.
How to reproduce
From docroot:
Notes:
MyControllerTest.php
is created at/
due to missing path expected fromgetTestPath()
.drupal/console/src/extension/Manager->getTestPath()
is never called.drupal/console/src/extension/Manager->getModule() <- createExtension()
is called.In
ControllerGenerator.php
(erroneously calls\Drupal\Console\Extension\Extension->getTestPath()
):The text was updated successfully, but these errors were encountered: