Merge branch 'feature/zhoushengchen-reverse-logistics-quotes' into preview/zhoushengchen-courier-local
This commit is contained in:
commit
477af16909
@ -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()
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user