Files
monica/tests/Unit/ContactFieldTest.php
T
Régis FreydandGitHub 29197090a7 Restructure where models are stored (#1476)
The idea is to clean the repository a little bit by moving models into their respective folders.
2018-06-14 20:49:12 -04:00

24 lines
473 B
PHP

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