Skip to content

Run LocalGov Drupal in a sub directory in DDEV to mimic drupal.org testing #231

@finnlewis

Description

@finnlewis

Drupal.org gitlab ci test scripts install Drupal in a subdirectory.

This exposes various tests that break when we have a /subdir path before the Drupal root.

To mimic these tests locally, we really need Drupal installed in a subdirectory.

Such that, from the host machine we can access the homepage at https://localgov.ddev.site/subdir

From within the web container, we can access the homepage at http://web/subdir

Then make sure all the phpunit tests run with this /subdir path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions