refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
33
tests/Unit/Models/ReminderOutboxTest.php
Normal file
33
tests/Unit/Models/ReminderOutboxTest.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Unit\Models;
|
||||
|
||||
use Tests\TestCase;
|
||||
use App\Models\Contact\ReminderOutbox;
|
||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||
|
||||
class ReminderOutboxTest extends TestCase
|
||||
{
|
||||
use DatabaseTransactions;
|
||||
|
||||
/** @test */
|
||||
public function it_belongs_to_an_account()
|
||||
{
|
||||
$reminderOutbox = factory(ReminderOutbox::class)->create([]);
|
||||
$this->assertTrue($reminderOutbox->account()->exists());
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function it_belongs_to_a_reminder()
|
||||
{
|
||||
$reminderOutbox = factory(ReminderOutbox::class)->create([]);
|
||||
$this->assertTrue($reminderOutbox->reminder()->exists());
|
||||
}
|
||||
|
||||
/** @test */
|
||||
public function it_belongs_to_a_user()
|
||||
{
|
||||
$reminderOutbox = factory(ReminderOutbox::class)->create([]);
|
||||
$this->assertTrue($reminderOutbox->user()->exists());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user