Reorden Toku

This commit is contained in:
Juan Pablo Vial
2025-05-10 12:38:14 -04:00
parent 1486d6cf38
commit fb7177fd65
24 changed files with 213 additions and 215 deletions

View File

@ -1,12 +1,12 @@
<?php
namespace Test\Unit\Model\MediosPago\Toku;
namespace Test\Unit\Model\Venta\MediosPago\Toku;
use Faker;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Incoviba\Model\MediosPago\Toku\Customer;
use Incoviba\Model\Persona;
use Tests\Extension\ObjectHasMethodTrait;
use Incoviba\Model\Persona;
use Incoviba\Model\Venta\MediosPago\Toku\Customer;
class CustomerTest extends TestCase
{

View File

@ -1,5 +1,5 @@
<?php
namespace Tests\Unit\Model\MediosPago\Toku;
namespace Tests\Unit\Model\Venta\MediosPago\Toku;
use Faker;
use PHPUnit\Framework\Attributes\DataProvider;
@ -19,7 +19,7 @@ class InvoiceTest extends TestCase
#[DataProvider('dataProperties')]
public function testProperties(string $propertyName): void
{
$invoice = new Model\MediosPago\Toku\Invoice();
$invoice = new Model\Venta\MediosPago\Toku\Invoice();
$this->assertObjectHasProperty($propertyName, $invoice);
}
@ -35,7 +35,7 @@ class InvoiceTest extends TestCase
$id = $faker->randomNumber();
$invoice = new Model\MediosPago\Toku\Invoice();
$invoice = new Model\Venta\MediosPago\Toku\Invoice();
$invoice->id = $id;
$invoice->cuota = $cuota;
$invoice->toku_id = $toku_id;

View File

@ -1,5 +1,5 @@
<?php
namespace Tests\Unit\Model\MediosPago\Toku;
namespace Tests\Unit\Model\Venta\MediosPago\Toku;
use Faker;
use PHPUnit\Framework\Attributes\DataProvider;
@ -19,7 +19,7 @@ class SubscriptionTest extends TestCase
#[DataProvider('dataProperties')]
public function testProperties(string $propertyName): void
{
$subscription = new Model\MediosPago\Toku\Subscription();
$subscription = new Model\Venta\MediosPago\Toku\Subscription();
$this->assertObjectHasProperty($propertyName, $subscription);
}
@ -34,7 +34,7 @@ class SubscriptionTest extends TestCase
$id = $faker->randomNumber();
$subscription = new Model\MediosPago\Toku\Subscription();
$subscription = new Model\Venta\MediosPago\Toku\Subscription();
$subscription->id = $id;
$subscription->venta = $venta;
$subscription->toku_id = $toku_id;