10-04-2026

This commit is contained in:
Kevin Adametz 2026-04-10 17:18:17 +02:00
parent 4d6b4930b2
commit 4bb89aad8c
836 changed files with 52961 additions and 5950 deletions

View file

@ -0,0 +1,30 @@
<?php
declare(strict_types=1);
use FluxCms\Core\Services\HeroiconOutlineList;
use Illuminate\Foundation\Testing\RefreshDatabase;
uses(RefreshDatabase::class);
test('heroicon outline list returns a sorted string array', function () {
$names = HeroiconOutlineList::names();
expect($names)->toBeArray();
foreach ($names as $name) {
expect($name)->toBeString()->not->toBeEmpty();
}
$sorted = $names;
sort($sorted);
expect($names)->toEqual($sorted);
});
test('heroicon outline forgetCached allows list to be rebuilt', function () {
HeroiconOutlineList::forgetCached();
$names = HeroiconOutlineList::names();
expect($names)->toBeArray();
});