update project
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user