Files
imail/tests/Feature/DomainFeatureTest.php

12 lines
251 B
PHP

<?php
use App\Models\Domain;
test('domain hash is generated in feature test', function () {
$domain = Domain::factory()->create([
'name' => 'feature-test-'.uniqid().'.com',
]);
expect($domain->domain_hash)->not->toBeNull();
});