18 lines
607 B
PHP
18 lines
607 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace Tests\Architecture;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
final class IslamicSundaySchoolBoundaryTest extends TestCase
|
|
{
|
|
public function test_extension_route_file_uses_domain_profile_middleware(): void
|
|
{
|
|
$routeFile = dirname(__DIR__, 2).'/routes/api_phase8.php';
|
|
$this->assertFileExists($routeFile);
|
|
$contents = file_get_contents($routeFile) ?: '';
|
|
$this->assertStringContainsString('islamic-sunday-school', $contents);
|
|
$this->assertStringContainsString('ensure.domain.profile:islamic_sunday_school', $contents);
|
|
}
|
|
}
|