feature/cierres (#25)

Varios cambios

Co-authored-by: Juan Pablo Vial <jpvialb@incoviba.cl>
Reviewed-on: http://git.provm.cl/Incoviba/oficial/pulls/25
This commit is contained in:
2025-07-22 13:18:00 +00:00
parent ba57cad514
commit 307f2ac7d7
418 changed files with 20045 additions and 984 deletions

View File

@ -0,0 +1,19 @@
<?php
namespace Tests\Unit\Model\Venta;
use Incoviba\Model\Venta\Promotion;
use Tests\Extension\AbstractModel;
use Tests\Extension\testMethodsTrait;
use Tests\Extension\testPropertiesTrait;
class PromotionTest extends AbstractModel
{
use testPropertiesTrait, testMethodsTrait;
protected function setUp(): void
{
$this->model = new Promotion();
$this->properties = ['description', 'amount', 'startDate', 'endDate', 'validUntil', 'type', 'state'];
$this->methods = ['projects', 'brokers', 'unitTypes', 'unitLines', 'units', 'value'];
}
}