Serve Drupal from a /subdir to mimic drupal.org testing.#232
Serve Drupal from a /subdir to mimic drupal.org testing.#232
Conversation
|
Currently the tests do not work within the web container. I am wondering if there's a difference in how the phpunit tests run with respect to the /subdir @ekes @stephen-cox @tonypaulbarker any ideas? |
|
|
@danchamp any ideas with this? |
@finnlewis I'm a Lando user so will take a look at what changes are needed to test this locally. |
|
@millnut is this something you might have any bright ideas about? |
|
Yep I'll take a look @finnlewis just finishing an alpha version of a LocalGov Drupal recipe installer. |
|
Hi @finnlewis so that error is actually misleading as you're not actually logged in as a cookie isn't set in the header, see https://www.drupal.org/project/drupal/issues/3556139 for an update to core to make the message more clear. So it looks like a cookie issue or nginx rewrite issue. |
|
@finnlewis to move this to Drupal.org |

Work in progress...
The motivation here is to be able to run tests against the site installed under a dub-directory.
drupal.org does this, which is exposing issues in our tests and bugs in some places (eg. localgovdrupal/localgov_services#335)
It would be great to be able to run the tests locally to replicate this.
The setup on this merge request serves the site at /subdir