mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-28 15:12:52 -04:00 
			
		
		
		
	* 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));
 | |
|     }
 | |
| }
 |