Fix Pint formatting

This commit is contained in:
root
2026-06-09 01:25:14 -04:00
parent 6be4875c5e
commit 20a0b6c4e5
1485 changed files with 11318 additions and 10273 deletions
+4 -4
View File
@@ -3,24 +3,24 @@
namespace Tests\Unit\Models;
use App\Models\Notification;
use PHPUnit\Framework\TestCase;
use Illuminate\Database\Eloquent\SoftDeletes;
use PHPUnit\Framework\TestCase;
class NotificationTest extends TestCase
{
public function test_model_metadata_is_converted(): void
{
$model = new Notification();
$model = new Notification;
$this->assertSame('notifications', $model->getTable());
$this->assertSame('id', $model->getKeyName());
$this->assertSame(true, $model->timestamps);
$this->assertSame(["title", "message", "target_group", "delivery_channels", "priority", "status", "action_url", "attachment_path", "scheduled_at", "sent_at", "expires_at", "created_at", "updated_at", "deleted_at", "school_year", "semester"], $model->getFillable());
$this->assertSame(['title', 'message', 'target_group', 'delivery_channels', 'priority', 'status', 'action_url', 'attachment_path', 'scheduled_at', 'sent_at', 'expires_at', 'created_at', 'updated_at', 'deleted_at', 'school_year', 'semester'], $model->getFillable());
}
public function test_model_class_loads(): void
{
$this->assertInstanceOf(Notification::class, new Notification());
$this->assertInstanceOf(Notification::class, new Notification);
$this->assertContains(SoftDeletes::class, class_uses_recursive(Notification::class));
}
}