Files
CRM/tests/Unit/Models/ContactFieldTest.php
Kroonk a213a1dba0
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
refactor: replace custom CRM with Monica fork
2026-05-22 16:19:55 +02:00

25 lines
492 B
PHP

<?php
namespace Tests\Unit\Models;
use Tests\TestCase;
use App\Models\Contact\ContactField;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ContactFieldTest extends TestCase
{
use DatabaseTransactions;
/** @test */
public function it_fetches_data_field()
{
$contactField = new ContactField;
$contactField->data = 'this is a test';
$this->assertEquals(
'this is a test',
$contactField->data
);
}
}