inti project

This commit is contained in:
root
2026-05-29 04:33:03 -04:00
commit cdeab1796f
699 changed files with 20516 additions and 0 deletions
@@ -0,0 +1,22 @@
<?php
namespace Tests\Feature\Release;
use App\Support\Release\FeatureFlagRegistry;
use PHPUnit\Framework\TestCase;
final class FeatureFlagRolloutMapTest extends TestCase
{
public function test_high_risk_flags_have_owners_and_safe_defaults(): void
{
$registry = new FeatureFlagRegistry();
$flags = $registry->export();
$this->assertNotEmpty($flags);
foreach ($flags as $flag) {
$this->assertNotSame('', $flag['owner']);
$this->assertArrayHasKey('default', $flag);
}
}
}
@@ -0,0 +1,22 @@
<?php
namespace Tests\Feature\Release;
use App\Support\Release\MigrationValidationRunner;
use PHPUnit\Framework\TestCase;
final class MigrationValidationScaffoldTest extends TestCase
{
public function test_validation_runner_defines_required_module_checks(): void
{
$runner = new MigrationValidationRunner();
$modules = array_map(fn ($result): string => $result->module, $runner->runAll());
$this->assertContains('finance', $modules);
$this->assertContains('attendance', $modules);
$this->assertContains('students', $modules);
$this->assertContains('communication', $modules);
$this->assertContains('reporting', $modules);
$this->assertContains('islamic_sunday_school', $modules);
}
}