Automated PR for spec 426 exchange teams core evidence identity readiness. Includes service changes and coverage/requirement/spec updates from commit fb4dc20c.
Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #493
30 lines
1.3 KiB
PHP
30 lines
1.3 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use App\Services\TenantConfiguration\ClaimGuard;
|
|
use App\Support\TenantConfiguration\ClaimState;
|
|
|
|
it('Spec426 allows only internal operator readiness wording for selected Exchange and Teams compare/render support', function (string $claim): void {
|
|
expect(app(ClaimGuard::class)->evaluateStatement($claim, internalOperatorOnly: true))
|
|
->toBe(ClaimState::InternalOnly);
|
|
})->with([
|
|
'Selected Exchange resources are comparable for internal operator review',
|
|
'Selected Exchange resources are renderable for internal review',
|
|
'Selected Teams resources are comparable for internal operator review',
|
|
'Selected Teams resources are renderable for internal review',
|
|
]);
|
|
|
|
it('Spec426 blocks certification, restore, customer, and broad Microsoft 365 readiness claims', function (string $claim): void {
|
|
expect(app(ClaimGuard::class)->evaluateStatement($claim, internalOperatorOnly: true))
|
|
->toBe(ClaimState::ClaimBlocked);
|
|
})->with([
|
|
'Selected Exchange resources are certified',
|
|
'Selected Teams resources are restore-ready',
|
|
'Exchange customer-ready evidence',
|
|
'Teams customer-ready evidence',
|
|
'Microsoft 365 customer-ready evidence',
|
|
'Full Microsoft 365 evidence coverage',
|
|
'All Exchange and Teams resources are supported',
|
|
]);
|