mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 05:26:17 +00:00
New tests and new configuration for tests.
This commit is contained in:
2
app/config/testingInMemory/app.php
Normal file
2
app/config/testingInMemory/app.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
return ['log_level' => 'debug',];
|
||||
8
app/config/testingInMemory/auth.php
Normal file
8
app/config/testingInMemory/auth.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'verify_mail' => false,
|
||||
'verify_reset' => true,
|
||||
'allow_register' => true
|
||||
|
||||
];
|
||||
3
app/config/testingInMemory/cache.php
Normal file
3
app/config/testingInMemory/cache.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
return ['driver' => 'array',];
|
||||
12
app/config/testingInMemory/database.php
Normal file
12
app/config/testingInMemory/database.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
return [
|
||||
'default' => 'sqlite',
|
||||
'connections' => [
|
||||
'sqlite' => [
|
||||
'driver' => 'sqlite',
|
||||
'database' => ':memory:',
|
||||
'prefix' => ''
|
||||
]
|
||||
|
||||
]
|
||||
];
|
||||
13
app/config/testingInMemory/mail.php
Normal file
13
app/config/testingInMemory/mail.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'driver' => 'smtp',
|
||||
'host' => '',
|
||||
'port' => 587,
|
||||
'from' => ['address' => '', 'name' => 'Firefly III'],
|
||||
'encryption' => 'tls',
|
||||
'username' => '',
|
||||
'password' => '',
|
||||
'sendmail' => '/usr/sbin/sendmail -bs',
|
||||
'pretend' => true,
|
||||
];
|
||||
3
app/config/testingInMemory/session.php
Normal file
3
app/config/testingInMemory/session.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
|
||||
return ['driver' => 'array',];
|
||||
Reference in New Issue
Block a user