Merge branch 'feature/zhoushengchen-reverse-logistics-quotes' into preview/zhoushengchen-courier-local

This commit is contained in:
zhoushengchen 2026-09-23 17:15:21 +08:00
commit 477af16909

View File

@ -127,6 +127,13 @@ class QuoteManagementPageTest extends FeatureTestCase
public function testReverseLogisticsQuoteTabCanBeOpenedDirectly(): void
{
$courierPayables = collect(config('business_navigation'))
->firstWhere('slug', 'courier-payables');
$this->assertIsArray($courierPayables);
$this->assertContains('quote-management', array_column($courierPayables['pages'], 'slug'));
$this->assertNotContains('reverse-logistics-quotes', array_column($courierPayables['pages'], 'slug'));
$this->user->attachPermission(
Permission::where('name', 'read-admin-panel')->firstOrFail()
);