mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Adjustments for tests
This commit is contained in:
parent
42649e4d48
commit
af939c98a1
@ -254,6 +254,8 @@ class GeneratesCounterTest extends TestCase
|
||||
$settings->quote_number_pattern = '{$year}-{$counter}';
|
||||
$settings->shared_invoice_quote_counter = true;
|
||||
|
||||
$settings->timezone_id = '31';
|
||||
|
||||
$this->client->company->settings = $settings;
|
||||
$this->client->company->save();
|
||||
|
||||
@ -281,6 +283,8 @@ class GeneratesCounterTest extends TestCase
|
||||
$settings->client_number_pattern = '{$year}-{$client_counter}';
|
||||
$settings->client_number_counter = 10;
|
||||
|
||||
$settings->timezone_id = '31';
|
||||
|
||||
$this->company->settings = $settings;
|
||||
$this->company->save();
|
||||
|
||||
@ -310,6 +314,9 @@ class GeneratesCounterTest extends TestCase
|
||||
$settings->counter_padding = 5;
|
||||
$settings->invoice_number_counter = 7;
|
||||
//$this->client->settings = $settings;
|
||||
|
||||
$settings->timezone_id = '31';
|
||||
|
||||
$this->company->settings = $settings;
|
||||
$this->company->save();
|
||||
|
||||
@ -391,6 +398,9 @@ class GeneratesCounterTest extends TestCase
|
||||
{
|
||||
$settings = $this->company->settings;
|
||||
$settings->client_number_pattern = '{$year}-{$user_id}-{$counter}';
|
||||
|
||||
$settings->timezone_id = '31';
|
||||
|
||||
$this->company->settings = $settings;
|
||||
$this->company->save();
|
||||
|
||||
@ -411,6 +421,9 @@ class GeneratesCounterTest extends TestCase
|
||||
{
|
||||
$settings = $this->company->settings;
|
||||
$settings->vendor_number_pattern = '{$year}-{$user_id}-{$counter}';
|
||||
|
||||
$settings->timezone_id = '31';
|
||||
|
||||
$this->company->settings = $settings;
|
||||
$this->company->save();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user