Closed (fixed)
Project:
Domain Path
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2026 at 10:31 UTC
Updated:
5 Mar 2026 at 11:50 UTC
Jump to comment: Most recent
It's all in the title.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mably commentedTest coverage for all validation constraints
Added Kernel tests for all four validation constraints in the domain_path module. The tests are organized with a shared base class to avoid duplication:
DomainPathKernelTestBase— shared setUp (entity schemas, config, 2 test domains, uid 1, path alias storage), genericfilterViolations()helper, andcreatePathAlias()helperDomainPathUniqueAliasTest— 6 tests forDomainPathUniquePathAliasConstraint(path_alias entity-level)DomainPathFieldConstraintsTest— 7 tests for the threeDomainPathItemfield-level constraintsDomainPathUniqueAliasTest (path_alias uniqueness scoped by domain)
DomainPathFieldConstraintsTest (DomainPathItem field-level)
DomainPathSlash:
DomainPathUnique:
DomainPathUserAccess:
The field constraints tests validate through full entity validation on node entities with the computed
domain_pathfield, usingdomain_accessmodule for realistic user access scenarios.Comment #5
mably commented