69cfdebb1a
yolo
31 lines
823 B
PHP
31 lines
823 B
PHP
<?php
|
|
|
|
namespace Tests\Unit\Models;
|
|
|
|
use Tests\TestCase;
|
|
use App\Models\Contact\ReminderOutbox;
|
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
|
|
|
class ReminderOutboxTest extends TestCase
|
|
{
|
|
use DatabaseTransactions;
|
|
|
|
public function test_it_belongs_to_an_account()
|
|
{
|
|
$reminderOutbox = factory(ReminderOutbox::class)->create([]);
|
|
$this->assertTrue($reminderOutbox->account()->exists());
|
|
}
|
|
|
|
public function test_it_belongs_to_a_reminder()
|
|
{
|
|
$reminderOutbox = factory(ReminderOutbox::class)->create([]);
|
|
$this->assertTrue($reminderOutbox->reminder()->exists());
|
|
}
|
|
|
|
public function test_it_belongs_to_a_user()
|
|
{
|
|
$reminderOutbox = factory(ReminderOutbox::class)->create([]);
|
|
$this->assertTrue($reminderOutbox->user()->exists());
|
|
}
|
|
}
|