Files
monica/tests/Unit/Models/GenderTest.php
T
2021-12-04 18:26:14 -05:00

21 lines
381 B
PHP

<?php
namespace Tests\Unit\Models;
use Tests\TestCase;
use App\Models\Gender;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class GenderTest extends TestCase
{
use DatabaseTransactions;
/** @test */
public function it_has_one_account()
{
$gender = Gender::factory()->create();
$this->assertTrue($gender->account()->exists());
}
}