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:
24
tests/Unit/Models/ContactFieldTest.php
Normal file
24
tests/Unit/Models/ContactFieldTest.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user