inti 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 ModuleBoundaryTest extends TestCase
|
||||
{
|
||||
use ScansArchitecture;
|
||||
|
||||
public function test_school_core_does_not_depend_on_islamic_sunday_school(): void
|
||||
{
|
||||
$this->assertFilesDoNotContain('app/Domain/SchoolCore', ['App\\Domain\\IslamicSundaySchool']);
|
||||
}
|
||||
|
||||
public function test_core_contracts_use_neutral_vocabulary(): void
|
||||
{
|
||||
$this->assertFilesDoNotContain('app/Domain/SchoolCore', ['Quran', "Qur'an", 'Halaqa', 'Masjid', 'Imam', 'Sadaqah', 'Zakat', 'ArabicLevel'], ['README.md']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user