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:
co-authored by
Claude Sonnet 5.5
parent
fafa140546
commit
be6ca5bee0
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user