mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-14 08:42:38 -04: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>
12 lines
386 B
PHP
12 lines
386 B
PHP
<?php
|
|
|
|
test('server index does not expose server IP addresses', function () {
|
|
$view = file_get_contents(resource_path('views/livewire/server/index.blade.php'));
|
|
|
|
expect($view)
|
|
->not->toContain("'address' => \$server->ip")
|
|
->not->toContain('<div>Address</div>')
|
|
->not->toContain('x-text="server.address"')
|
|
->not->toContain('server.address,');
|
|
});
|