fix: note the library-list scan cap; preset-cap note only with presets (M-11, M-12)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-27 04:19:05 +02:00
co-authored by Claude Opus 5.5
parent d8d7bb67be
commit 031f01451b
4 changed files with 54 additions and 3 deletions
@@ -75,5 +75,9 @@ final class DiviDesignSystemAbilityTest extends TestCase
self::assertCount(DiviDesignSystemAbility::PRESET_LIMIT, $result['presets']);
self::assertContains('200 von 250 Presets gezeigt; mit module auf ein Modul eingrenzen.', $result['notes']);
$colors = (new DiviDesignSystemAbility($reader))->execute(['only' => ['colors']]);
self::assertSame([], $colors['presets']);
self::assertStringNotContainsString('Presets gezeigt', implode(' ', $colors['notes']), 'not requested');
}
}