Problem/Motivation
Follow-up from #3086644: LegacyProject composer templates wrongly reference 8.x + fix test coverage
We don't have an automated test which ensures that the quickstart feature works with the drupal/recommended-project layout.
Proposed resolution
Extend the test(s) from #3086644: LegacyProject composer templates wrongly reference 8.x + fix test coverage to also perform the quick-start command.
Fix all the things that need fixing to allow this to happen.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 3096044-10.patch | 1.43 KB | quietone |
Comments
Comment #2
mile23Comment #3
mile23Couple interesting wrinkles:
drupal quick-startwithout starting a server. We don't want the server, so we usedrupal installinstead, and then have our build test use its own server to send a request to the installed Drupal.php ./web/core/scripts/drupal install. However, if you want to start the server, you have tocd web && php ../web/core/scripts/drupal server. This might represent a bug in the quickstart commands, or it might represent a need to store the docroot path in the project directory in some way.Comment #10
quietone commentedI was playing around with this and successfully created the project and installed. It just fails on the first assert after attempt to visit the site. I'm uploading the patch but not running tests.