Files
coolify/tests/Feature/HeaderVersionReleaseLinkTest.php
T
Andras BacsaiandClaude Opus 5.5 a79ee909c6 chore: remove unused components and markup-only tests
- 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>
2026-09-28 00:18:16 +02:00

15 lines
400 B
PHP

<?php
use Illuminate\Support\Facades\Blade;
test('development versions are not linked to nonexistent github releases', function () {
config(['constants.coolify.version' => '4.3.1-dev.d64cbda3e']);
$version = Blade::render('<x-version />');
expect($version)
->toContain('v4.3.1-dev.d64cbda3e')
->not->toContain('href=')
->not->toContain('target="_blank"');
});