mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Increase parallel tests
This commit is contained in:
parent
c0677dfb1d
commit
2e091abdc0
4
.github/workflows/phpunit.yml
vendored
4
.github/workflows/phpunit.yml
vendored
@ -16,8 +16,8 @@ jobs:
|
|||||||
operating-system: ['ubuntu-20.04', 'ubuntu-22.04']
|
operating-system: ['ubuntu-20.04', 'ubuntu-22.04']
|
||||||
php-versions: ['8.1','8.2']
|
php-versions: ['8.1','8.2']
|
||||||
phpunit-versions: ['latest']
|
phpunit-versions: ['latest']
|
||||||
ci_node_total: [ 6 ]
|
ci_node_total: [ 8 ]
|
||||||
ci_node_index: [ 0, 1, 2, 3, 4, 5]
|
ci_node_index: [ 0, 1, 2, 3, 4, 5, 6, 7]
|
||||||
laravel: [9.*]
|
laravel: [9.*]
|
||||||
dependency-version: [prefer-stable]
|
dependency-version: [prefer-stable]
|
||||||
|
|
||||||
|
@ -19,11 +19,11 @@ use App\Services\Tax\Providers\ZipTax;
|
|||||||
class TaxService
|
class TaxService
|
||||||
{
|
{
|
||||||
|
|
||||||
public function __construct(protected Company $company, protected Client $client)
|
public function __construct(public Client $client)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
private function validateVat(): self
|
public function validateVat(): self
|
||||||
{
|
{
|
||||||
$client_country_code = $this->client->shipping_country ? $this->client->shipping_country->iso_3166_2 : $this->client->country->iso_3166_2;
|
$client_country_code = $this->client->shipping_country ? $this->client->shipping_country->iso_3166_2 : $this->client->country->iso_3166_2;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user