Introduce ConfigFileTransformer for Config files
This commit is contained in:
parent
6318406951
commit
fea4b202c1
4 changed files with 199 additions and 0 deletions
22
tests/datasets/config/A.node.config.php
Normal file
22
tests/datasets/config/A.node.config.php
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'database' => [
|
||||
'hostname' => 'testhost',
|
||||
'username' => 'testuser',
|
||||
'password' => 'testpw',
|
||||
'database' => 'testdb',
|
||||
'charset' => 'utf8mb4',
|
||||
],
|
||||
'config' => [
|
||||
'admin_email' => 'admin@test.it',
|
||||
'sitename' => 'Friendica Social Network',
|
||||
'register_policy' => 2,
|
||||
'register_text' => '',
|
||||
],
|
||||
'system' => [
|
||||
'default_timezone' => 'UTC',
|
||||
'language' => 'en',
|
||||
'theme' => 'frio',
|
||||
],
|
||||
];
|
38
tests/datasets/config/B.node.config.php
Normal file
38
tests/datasets/config/B.node.config.php
Normal file
|
@ -0,0 +1,38 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'database' => [
|
||||
'hostname' => 'testhost',
|
||||
'username' => 'testuser',
|
||||
'password' => 'testpw',
|
||||
'database' => 'testdb',
|
||||
'charset' => 'utf8mb4',
|
||||
],
|
||||
'config' => [
|
||||
'admin_email' => 'admin@test.it',
|
||||
'sitename' => 'Friendica Social Network',
|
||||
'register_policy' => 2,
|
||||
'register_text' => '',
|
||||
'test' => [
|
||||
'a' => [
|
||||
'next' => 'value',
|
||||
'bool' => false,
|
||||
'innerArray' => [
|
||||
'a' => 4.55,
|
||||
'b' => false,
|
||||
'string2' => 'false',
|
||||
],
|
||||
],
|
||||
'v' => true,
|
||||
'v3' => 1,
|
||||
'v4' => 5.6443,
|
||||
],
|
||||
],
|
||||
'system' => [
|
||||
'default_timezone' => 'UTC',
|
||||
'language' => 'en',
|
||||
'theme' => 'frio',
|
||||
'int' => 23,
|
||||
'float' => 2.5,
|
||||
],
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue