feat: Fundstellen aller Module eines Typs, Standard-Gruppen-Presets in der Fundstellensuche (ModuleUsageQuery)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
1f9b50f1a6
commit
763d765660
@@ -138,6 +138,16 @@ final class DiviPresetsSetAbilityTest extends TestCase
|
||||
self::assertSame(['changed', 'default_set'], array_column($dry['diff'], 'action'));
|
||||
}
|
||||
|
||||
/** R11: a default group preset no longer warns that pages are "not listed" – the dry run lists them. */
|
||||
public function testDefaultGroupPresetHasNoNotListedWarning(): void
|
||||
{
|
||||
$dry = self::assertToolError($this->ability()->execute(['items' => [[
|
||||
'group' => 'font-body', 'preset' => 'Lesetext', 'rename' => 'Lesetext neu', 'make_default' => true,
|
||||
]]]), 'confirm_required');
|
||||
|
||||
self::assertSame([], $dry['warnings']);
|
||||
}
|
||||
|
||||
public function testUnknownPresetAndBadItemsAreCollected(): void
|
||||
{
|
||||
$result = self::assertToolError($this->ability()->execute(['items' => [
|
||||
|
||||
Reference in New Issue
Block a user