Persist DigitalOcean, Hetzner, and Vultr servers before public IP assignment, then backfill placeholder addresses from provider state. Treat partial Sentinel snapshots as non-authoritative and document the destinations API with OpenAPI schemas.
12 lines
625 B
PHP
12 lines
625 B
PHP
<?php
|
|
|
|
test('navbar does not render the removed theme switcher', function () {
|
|
$navbar = file_get_contents(__DIR__.'/../../resources/views/components/navbar.blade.php');
|
|
|
|
expect($navbar)->not->toContain('cycleTheme()')
|
|
->and($navbar)->not->toContain('aria-label="Theme switcher"')
|
|
->and($navbar)->not->toContain('@click.stop="setTheme(\'light\')"')
|
|
->and($navbar)->not->toContain('@click.stop="setTheme(\'system\')"')
|
|
->and($navbar)->not->toContain('@click.stop="setTheme(\'dark\')"')
|
|
->and($navbar)->not->toContain('<span class="text-left menu-item-label">Theme</span>');
|
|
});
|