1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00
invoiceninja/tests/Unit/PdfVariablesTest.php

34 lines
696 B
PHP
Raw Normal View History

<?php
2020-09-14 13:11:46 +02:00
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2021. Invoice Ninja LLC (https://invoiceninja.com)
2020-09-14 13:11:46 +02:00
*
* @license https://www.elastic.co/licensing/elastic-license
2020-09-14 13:11:46 +02:00
*/
namespace Tests\Unit;
use App\DataMapper\CompanySettings;
use Tests\TestCase;
/**
* @test
*/
class PdfVariablesTest extends TestCase
{
protected function setUp() :void
{
parent::setUp();
$this->settings = CompanySettings::defaults();
}
public function testPdfVariableDefaults()
{
$this->assertTrue(is_array($this->settings->pdf_variables->client_details));
}
}