2020-04-14 11:57:21 +02:00
|
|
|
<?php
|
|
|
|
|
2020-06-24 15:12:40 +02:00
|
|
|
use Doctrine\Common\Proxy\AbstractProxyFactory;
|
|
|
|
|
|
|
|
$dataPath = getenv('TESTS_DIR') . '/data';
|
2020-04-14 11:57:21 +02:00
|
|
|
|
|
|
|
return [
|
|
|
|
'doctrine' => [
|
|
|
|
'connection' => [
|
|
|
|
'orm_default' => [
|
2020-05-14 23:43:02 +02:00
|
|
|
'params' => [
|
|
|
|
'host' => '127.0.0.1',
|
2020-04-14 11:57:21 +02:00
|
|
|
'user' => 'sqlmonarcuser',
|
|
|
|
'password' => 'sqlmonarcuser',
|
|
|
|
'dbname' => 'monarc_common_test',
|
|
|
|
'port' => 3306,
|
2020-05-14 23:43:02 +02:00
|
|
|
// To execute tests from your host machine uncomment these lines:
|
|
|
|
'options' => [
|
|
|
|
PDO::MYSQL_ATTR_SSL_KEY => '~/web/monarc/MonarcAppFO/vagrant/.vagrant/machines/default/virtualbox/private_key'
|
|
|
|
]
|
|
|
|
],
|
2020-04-14 11:57:21 +02:00
|
|
|
],
|
|
|
|
'orm_cli' => [
|
2020-05-14 23:43:02 +02:00
|
|
|
'params' => [
|
|
|
|
'host' => '127.0.0.1',
|
2020-04-14 11:57:21 +02:00
|
|
|
'user' => 'sqlmonarcuser',
|
|
|
|
'password' => 'sqlmonarcuser',
|
|
|
|
'dbname' => 'monarc_cli_test',
|
|
|
|
'port' => 3306,
|
2020-05-14 23:43:02 +02:00
|
|
|
// To execute tests from your host machine uncomment these lines:
|
|
|
|
'options' => [
|
|
|
|
PDO::MYSQL_ATTR_SSL_KEY => '~/web/monarc/MonarcAppFO/vagrant/.vagrant/machines/default/virtualbox/private_key'
|
|
|
|
]
|
|
|
|
],
|
2020-04-14 11:57:21 +02:00
|
|
|
],
|
|
|
|
],
|
|
|
|
'entitymanager' => [
|
|
|
|
'orm_default' => [
|
2020-06-24 15:12:40 +02:00
|
|
|
'connection' => 'orm_default',
|
2020-04-14 11:57:21 +02:00
|
|
|
'configuration' => 'orm_default'
|
|
|
|
],
|
|
|
|
'orm_cli' => [
|
2020-06-24 15:12:40 +02:00
|
|
|
'connection' => 'orm_cli',
|
2020-04-14 11:57:21 +02:00
|
|
|
'configuration' => 'orm_cli',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
'configuration' => [
|
|
|
|
'orm_default' => [
|
2020-06-24 15:12:40 +02:00
|
|
|
'metadata_cache' => 'array',
|
|
|
|
'query_cache' => 'array',
|
|
|
|
'result_cache' => 'array',
|
|
|
|
'driver' => 'orm_default',
|
|
|
|
'generate_proxies' => AbstractProxyFactory::AUTOGENERATE_EVAL,
|
|
|
|
'filters' => [],
|
|
|
|
'datetime_functions' => [],
|
|
|
|
'string_functions' => [],
|
|
|
|
'numeric_functions' => [],
|
|
|
|
'second_level_cache' => [],
|
2020-04-14 11:57:21 +02:00
|
|
|
],
|
|
|
|
'orm_cli' => [
|
2020-06-24 15:12:40 +02:00
|
|
|
'metadata_cache' => 'array',
|
|
|
|
'query_cache' => 'array',
|
|
|
|
'result_cache' => 'array',
|
|
|
|
'driver' => 'orm_cli',
|
|
|
|
'generate_proxies' => AbstractProxyFactory::AUTOGENERATE_EVAL,
|
|
|
|
'filters' => [],
|
|
|
|
'datetime_functions' => [],
|
|
|
|
'string_functions' => [],
|
|
|
|
'numeric_functions' => [],
|
|
|
|
'second_level_cache' => [],
|
2020-04-14 11:57:21 +02:00
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
'activeLanguages' => ['fr', 'en', 'de', 'nl',],
|
|
|
|
|
|
|
|
'appVersion' => '3.0.0',
|
|
|
|
|
|
|
|
'checkVersion' => false,
|
|
|
|
'appCheckingURL' => 'https://version.monarc.lu/check/MONARC',
|
|
|
|
|
|
|
|
'email' => [
|
|
|
|
'name' => 'MONARC',
|
|
|
|
'from' => 'info@monarc.lu',
|
|
|
|
],
|
|
|
|
|
|
|
|
'mospApiUrl' => 'https://objects.monarc.lu/api/v1/',
|
|
|
|
|
|
|
|
'monarc' => [
|
|
|
|
'ttl' => 60,
|
|
|
|
'salt' => '',
|
|
|
|
],
|
|
|
|
];
|