feat: Presets als Stapel, Gruppen-Presets und clear_overrides im Composer

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Jan-Niclas Loosen
2026-10-18 16:48:58 +02:00
co-authored by Claude Sonnet 5.5
parent fafa140546
commit be6ca5bee0
13 changed files with 549 additions and 74 deletions
@@ -263,4 +263,13 @@ final class ContentCreateAbilityTest extends TestCase
Functions\when('current_user_can')->justReturn(false);
self::assertToolError($ability->permission(['post_type' => 'page']), 'forbidden');
}
public function testDescriptionNamesPresetStacksAndGroupPresets(): void
{
$ability = new ContentCreateAbility($this->schema(), Mockery::mock(PostWriter::class), FakeChangeLog::forbidden());
$description = $ability->description();
self::assertStringContainsString('group_presets', $description);
self::assertStringContainsString('clear_overrides', $description);
}
}