mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 07:02:34 +01:00
6d7b7ca9a3
* Fixes when implementing * php_cs * Clean up * Clean up * Working on adjusting ledger when an invoice is deleted
27 lines
518 B
PHP
27 lines
518 B
PHP
<?php
|
|
|
|
namespace Tests\Unit;
|
|
|
|
use App\DataMapper\ClientSettings;
|
|
use App\DataMapper\CompanySettings;
|
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
|
use Tests\TestCase;
|
|
|
|
/**
|
|
* @test
|
|
*/
|
|
class PdfVariablesTest extends TestCase
|
|
{
|
|
public function setUp() :void
|
|
{
|
|
parent::setUp();
|
|
|
|
$this->settings = CompanySettings::defaults();
|
|
}
|
|
|
|
public function testPdfVariableDefaults()
|
|
{
|
|
$this->assertTrue(is_array($this->settings->pdf_variables->client_details));
|
|
}
|
|
}
|