Nuevas pruebas

This commit is contained in:
Juan Pablo Vial
2025-04-30 01:12:23 -04:00
parent 1a400d9a5c
commit 019d57a0b0
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,19 @@
<?php
namespace ProVM\Unit\Model\Venta;
use Incoviba\Model\Venta\Reservation;
use ProVM\Tests\Extension\AbstractModel;
use ProVM\Tests\Extension\testMethodsTrait;
use ProVM\Tests\Extension\testPropertiesTrait;
class ReservationTest extends AbstractModel
{
use testPropertiesTrait, testMethodsTrait;
protected function setUp(): void
{
$this->model = new Reservation();
$this->properties = ['buyer', 'date', 'units', 'promotions', 'broker'];
$this->methods = ['states', 'currentState', 'addUnit', 'removeUnit', 'findUnit', 'hasUnit'];
}
}