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
341 B
17 lines
341 B
<?php
|
|
|
|
namespace Tests\Unit\Models;
|
|
|
|
use App\Entities\Agencies\Agency;
|
|
use App\Entities\Users\User;
|
|
use Tests\TestCase;
|
|
|
|
class AgencyTest extends TestCase
|
|
{
|
|
/** @test */
|
|
public function agency_has_an_owner()
|
|
{
|
|
$agency = factory(Agency::class)->create();
|
|
$this->assertTrue($agency->owner instanceof User);
|
|
}
|
|
}
|