23 lines
675 B
PHP
23 lines
675 B
PHP
<?php
|
|
|
|
namespace Tests\Feature\SystemSettings;
|
|
|
|
use Tests\Feature\FeatureTestCase;
|
|
|
|
class SettingsSidebarStyleTest extends FeatureTestCase
|
|
{
|
|
public function test_settings_sidebar_keeps_original_light_style_and_floats_above_main_menu(): void
|
|
{
|
|
$html = $this->loginAs()
|
|
->get(route('system-settings.users.index'))
|
|
->assertOk()
|
|
->getContent();
|
|
|
|
$this->assertMatchesRegularExpression(
|
|
'/<div class="settings-menu user-menu menu-list fixed h-full overflow-y-unset z-30[^"]*">/',
|
|
$html
|
|
);
|
|
$this->assertStringNotContainsString('finance-theme-sidebar settings-menu', $html);
|
|
}
|
|
}
|