fix: 去掉费比异常监控重复菜单

This commit is contained in:
renshen 2026-11-05 19:55:52 +08:00
parent 31c280ff53
commit 8f6bcfa089
2 changed files with 1 additions and 8 deletions

View File

@ -53,10 +53,6 @@ class SidebarMenu
['prototype-finance-reports', 'profit-report', '公司利润报表', 'request_quote'],
['prototype-finance-reports', 'asset-report', '公司资产报表', 'account_balance'],
]],
['title' => '费比异常数据监控', 'items' => [
['fee-ratio-monitoring', 'refund-pending', '退款待确认', 'assignment_return'],
['fee-ratio-monitoring', 'overview', '异常数据监控', 'monitor_heart'],
]],
];
$visiblePages = self::visiblePages($user);

View File

@ -314,10 +314,7 @@ class NavigationTest extends FeatureTestCase
$sidebarGroup = collect(SidebarMenu::groups($this->user))
->firstWhere('title', '费比异常数据监控');
$this->assertNotNull($sidebarGroup);
$this->assertSame('fee-ratio-monitoring', $sidebarGroup['items'][0]['section']);
$this->assertSame('refund-pending', $sidebarGroup['items'][0]['page']);
$this->assertSame('overview', $sidebarGroup['items'][1]['page']);
$this->assertNull($sidebarGroup);
$this->loginAs()
->get(route('business.pages.show', [