Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
23 lines
819 B
PHP
23 lines
819 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace LIT\MCP\Tests\Unit\Integrations\Divi\Pages;
|
|
|
|
use LIT\MCP\Integrations\Divi\Pages\DiviSchema;
|
|
use LIT\MCP\Tests\Unit\TestCase;
|
|
|
|
final class DiviSchemaTest extends TestCase
|
|
{
|
|
/** Ruling Q17 M2: confirm also applies to layouts of active Theme Builder templates. */
|
|
public function testTheConfirmDescriptionNamesEveryCaseThatNeedsADryRun(): void
|
|
{
|
|
$description = (string) DiviSchema::write()['confirm']['description'];
|
|
|
|
self::assertStringContainsString('globalen Bibliothekseinträgen', $description);
|
|
self::assertStringContainsString('Theme-Builder-Layouts aktiver Vorlagen', $description);
|
|
self::assertStringContainsString('Löschen', $description);
|
|
self::assertStringContainsString('confirm_required', $description);
|
|
}
|
|
}
|