TenantAtlas/apps/platform/tests/Feature/Guards/TestTaxonomyPlacementGuardTest.php
2026-04-16 15:57:39 +02:00

19 lines
1.1 KiB
PHP

<?php
declare(strict_types=1);
use Tests\Support\TestLaneManifest;
it('keeps the first audited heavy batch out of the confidence lane and inside heavy-governance', function (): void {
$confidenceFiles = TestLaneManifest::discoverFiles('confidence');
$heavyFiles = TestLaneManifest::discoverFiles('heavy-governance');
expect($confidenceFiles)->not->toContain('tests/Architecture/PlatformVocabularyBoundaryGuardTest.php')
->and($confidenceFiles)->not->toContain('tests/Architecture/ReasonTranslationPrimarySurfaceGuardTest.php')
->and($confidenceFiles)->not->toContain('tests/Deprecation/IsPlatformSuperadminDeprecationTest.php')
->and($confidenceFiles)->not->toContain('tests/Feature/Guards/ActionSurfaceContractTest.php')
->and($heavyFiles)->toContain('tests/Architecture/PlatformVocabularyBoundaryGuardTest.php')
->and($heavyFiles)->toContain('tests/Architecture/ReasonTranslationPrimarySurfaceGuardTest.php')
->and($heavyFiles)->toContain('tests/Deprecation/IsPlatformSuperadminDeprecationTest.php')
->and($heavyFiles)->toContain('tests/Feature/Guards/ActionSurfaceContractTest.php');
});