mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-08 21:20:48 +01:00
drupal: make simpletest DB URL configurable
This commit is contained in:
parent
5eb658ddec
commit
afcca18c9e
4 changed files with 14 additions and 3 deletions
|
@ -105,7 +105,15 @@ final class ConfigDto
|
|||
|
||||
#[Assert\Collection(
|
||||
allowExtraFields: false,
|
||||
fields: ['docroot' => new Assert\Choice([null, 'web', 'docroot'])],
|
||||
fields: [
|
||||
'docroot' => new Assert\Choice([null, 'web', 'docroot']),
|
||||
|
||||
'simpletest' => new Assert\Optional(
|
||||
new Assert\Collection([
|
||||
'db' => new Assert\Optional(new Assert\Type('string')),
|
||||
]),
|
||||
),
|
||||
],
|
||||
)]
|
||||
public array $drupal;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue