You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
365 B
17 lines
365 B
<?php
|
|
|
|
namespace Tests\Unit\Models;
|
|
|
|
use App\Entities\Partners\Customer;
|
|
use App\Entities\Payments\Payment;
|
|
use Tests\TestCase;
|
|
|
|
class PaymentTest extends TestCase
|
|
{
|
|
/** @test */
|
|
public function it_has_customer_relation()
|
|
{
|
|
$payment = factory(Payment::class)->create();
|
|
$this->assertTrue($payment->customer instanceof Customer);
|
|
}
|
|
}
|