1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Updates for tests for html generation

This commit is contained in:
David Bomba 2023-08-09 10:47:50 +10:00
parent 721bc60f64
commit b426788de3
2 changed files with 4 additions and 3 deletions

View File

@ -702,11 +702,11 @@ class HtmlEngine
$tax_label = '';
if (collect($this->entity->line_items)->contains('tax_id', \App\Models\Product::PRODUCT_TYPE_REVERSE_TAX)) {
$tax_label .= ctrans('texts.reverse_tax_info') . "\n";
$tax_label .= ctrans('texts.reverse_tax_info') . "<br>";
}
if($this->client->country_id !== (int)$this->company->settings->country_id){
$tax_label .= ctrans('texts.tax_info') . "\n";
$tax_label .= ctrans('texts.intracommunity_tax_info') . "<br>";
}
return $tax_label;

View File

@ -41,6 +41,8 @@ class ClientTest extends TestCase
use DatabaseTransactions;
use MockAccountData;
public $faker;
protected function setUp() :void
{
parent::setUp();
@ -63,7 +65,6 @@ class ClientTest extends TestCase
$this->makeTestData();
}
public function testClientMergeContactDrop()
{