mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 23:14:35 -04:00
Fixes for tests
This commit is contained in:
parent
e04c56efc5
commit
64767924e9
@ -26,8 +26,6 @@ class SelfUpdateController extends BaseController
|
|||||||
use ClientGroupSettingsSaver;
|
use ClientGroupSettingsSaver;
|
||||||
use AppSetup;
|
use AppSetup;
|
||||||
|
|
||||||
// private bool $use_zip = false;
|
|
||||||
|
|
||||||
private string $filename = 'invoiceninja.tar';
|
private string $filename = 'invoiceninja.tar';
|
||||||
|
|
||||||
private array $purge_file_list = [
|
private array $purge_file_list = [
|
||||||
|
@ -54,17 +54,14 @@ return [
|
|||||||
'hosted' => env('TERMS_OF_SERVICE_URL', 'https://www.invoiceninja.com/terms/'),
|
'hosted' => env('TERMS_OF_SERVICE_URL', 'https://www.invoiceninja.com/terms/'),
|
||||||
'selfhost' => env('TERMS_OF_SERVICE_URL', 'https://www.invoiceninja.com/self-hosting-terms-service/'),
|
'selfhost' => env('TERMS_OF_SERVICE_URL', 'https://www.invoiceninja.com/self-hosting-terms-service/'),
|
||||||
],
|
],
|
||||||
|
|
||||||
'privacy_policy_url' => [
|
'privacy_policy_url' => [
|
||||||
'hosted' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/privacy-policy/'),
|
'hosted' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/privacy-policy/'),
|
||||||
'selfhost' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/self-hosting-privacy-data-control/'),
|
'selfhost' => env('PRIVACY_POLICY_URL', 'https://www.invoiceninja.com/self-hosting-privacy-data-control/'),
|
||||||
],
|
],
|
||||||
|
|
||||||
'db' => [
|
'db' => [
|
||||||
'multi_db_enabled' => env('MULTI_DB_ENABLED', false),
|
'multi_db_enabled' => env('MULTI_DB_ENABLED', false),
|
||||||
'default' => env('DB_CONNECTION', 'mysql'),
|
'default' => env('DB_CONNECTION', 'mysql'),
|
||||||
],
|
],
|
||||||
|
|
||||||
'i18n' => [
|
'i18n' => [
|
||||||
'timezone_id' => env('DEFAULT_TIMEZONE', 1),
|
'timezone_id' => env('DEFAULT_TIMEZONE', 1),
|
||||||
'country_id' => env('DEFAULT_COUNTRY', 840), // United Stated
|
'country_id' => env('DEFAULT_COUNTRY', 840), // United Stated
|
||||||
@ -79,7 +76,6 @@ return [
|
|||||||
'first_day_of_week' => env('FIRST_DATE_OF_WEEK', 0),
|
'first_day_of_week' => env('FIRST_DATE_OF_WEEK', 0),
|
||||||
'first_month_of_year' => env('FIRST_MONTH_OF_YEAR', '2000-01-01'),
|
'first_month_of_year' => env('FIRST_MONTH_OF_YEAR', '2000-01-01'),
|
||||||
],
|
],
|
||||||
|
|
||||||
'testvars' => [
|
'testvars' => [
|
||||||
'username' => 'user@example.com',
|
'username' => 'user@example.com',
|
||||||
'clientname' => 'client@example.com',
|
'clientname' => 'client@example.com',
|
||||||
|
@ -126,7 +126,6 @@ $settings->state = 'PA';
|
|||||||
$encoder = new Encode($fe);
|
$encoder = new Encode($fe);
|
||||||
$xml = $encoder->toXml();
|
$xml = $encoder->toXml();
|
||||||
|
|
||||||
echo $xml;
|
|
||||||
$this->assertNotNull($xml);
|
$this->assertNotNull($xml);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user