mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 08:47:32 -05:00 
			
		
		
		
	* Remove \Log::, fixes for tests, and fixes for migration * Debugging migration * Fixes for Migration
		
			
				
	
	
		
			29 lines
		
	
	
		
			520 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			520 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));
 | 
						|
    }
 | 
						|
 | 
						|
}
 | 
						|
 |