Reorden Toku
This commit is contained in:
@ -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
|
||||
{
|
@ -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;
|
@ -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;
|
Reference in New Issue
Block a user