mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-04 10:42:23 +00:00
- Delete Blade components, component classes, Livewire components and views that nothing uses after the redesign. - Delete tests that only compare Blade/CSS source text; keep the source checks for authorization gates, stable wire:key values and escaping. - Update stale tests to the current UI and behaviour. - Update DESIGN.md to the current navigation and layout. - Add a lesson: test behaviour, not source markup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
494 B
PHP
13 lines
494 B
PHP
<?php
|
|
|
|
it('renders GlobalSearch database icons as image assets instead of raw logo HTML', function () {
|
|
$globalSearchFile = file_get_contents(__DIR__.'/../../app/Livewire/GlobalSearch.php');
|
|
$bladeFile = file_get_contents(__DIR__.'/../../resources/views/livewire/global-search.blade.php');
|
|
|
|
expect($bladeFile)
|
|
->not->toContain('$item[\'logo_html\']')
|
|
->not->toContain('x-html="item.logo_html"');
|
|
|
|
expect($globalSearchFile)->not->toContain("'logo_html' =>");
|
|
});
|