Files
laravel_school_api_old/tests/Architecture/IslamicSundaySchoolBoundaryTest.php
2026-05-29 04:33:03 -04:00

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);
}
}