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
354 B

<?php
namespace Tests\Unit\Models;
use App\Entities\Payments\Payment;
use App\Entities\Users\User;
use Tests\TestCase;
class PaymentTest extends TestCase
{
/** @test */
public function it_has_customer_relation()
{
$payment = factory(Payment::class)->create();
$this->assertTrue($payment->customer instanceof User);
}
}