feat: user notification channels (monicahq/chandler#43)

This commit is contained in:
Regis Freyd
2022-02-24 14:24:33 -05:00
committed by GitHub
parent d9a6ec1c35
commit ac4d3df310
126 changed files with 3134 additions and 628 deletions
@@ -0,0 +1,20 @@
<?php
namespace Tests\Unit\Models;
use Tests\TestCase;
use App\Models\UserNotificationSent;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class UserNotificationSentTest extends TestCase
{
use DatabaseTransactions;
/** @test */
public function it_belongs_to_one_user_notification_channel()
{
$sent = UserNotificationSent::factory()->create();
$this->assertTrue($sent->notificationChannel()->exists());
}
}