seed(); $this->post('/admin/login', [ 'email' => 'platform.admin@demo.local', 'password' => 'Platform@123456', ])->assertRedirect('/admin'); } public function test_admin_merchants_index_should_not_include_inline_style_blocks(): void { $this->loginAsPlatformAdmin(); $res = $this->get('/admin/merchants'); $res->assertOk(); $html = (string) $res->getContent(); // 样式治理:后台页面不应新增大段 inline