mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-14 00:33:44 -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
481 B
PHP
11 lines
481 B
PHP
<?php
|
|
|
|
test('server role migration keeps dedicated build servers and defaults other servers to both', function () {
|
|
$migration = file_get_contents(base_path('database/migrations/2026_09_19_121840_add_server_role_to_server_settings_table.php'));
|
|
|
|
expect($migration)
|
|
->toContain('->nullable()->default(ServerRole::BOTH->value)')
|
|
->toContain("->where('is_build_server', true)")
|
|
->toContain("->update(['server_role' => ServerRole::BUILD->value])");
|
|
});
|