get('/admin/login'); $response->assertOk(); // login 页面也要走 token 化样式栈,避免被 legacy admin.css 暗色风格污染。 $response->assertDontSee('/css/admin.css', false); $response->assertSee('/css/admin-theme.css', false); $response->assertSee('/css/admin-base.css', false); $response->assertSee('/css/admin-components.css', false); } }