update project
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace Tests\Architecture;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Tests\Architecture\Concerns\ScansArchitecture;
|
||||
|
||||
final class StudentBoundaryTest extends TestCase
|
||||
{
|
||||
use ScansArchitecture;
|
||||
|
||||
public function test_student_identifier_generation_does_not_use_max_id(): void
|
||||
{
|
||||
$this->assertFilesDoNotContain('app', ["max('id')", 'max("id")', 'MAX(id)']);
|
||||
}
|
||||
|
||||
public function test_core_student_layer_has_no_extension_profile_fields(): void
|
||||
{
|
||||
$this->assertFilesDoNotContain('app/Domain/SchoolCore/Students', ['quran_level', 'arabic_level', 'halaqa', 'masjid_family', 'imam_note']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user