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>
11 lines
377 B
PHP
11 lines
377 B
PHP
<?php
|
|
|
|
it('exposes enable and disable public access methods on service index', function () {
|
|
$source = file_get_contents(app_path('Livewire/Project/Service/Index.php'));
|
|
|
|
expect($source)
|
|
->toContain('public function enablePublicAccess(): void')
|
|
->toContain('public function disablePublicAccess(): void')
|
|
->toContain('$this->instantSave()');
|
|
});
|