测试: 补齐摘要区退款回执辅助链接护栏
This commit is contained in:
@@ -33,6 +33,10 @@ class AdminPlatformOrderIndexSummaryReceiptRefundLinksShouldHaveDataRoleAndKeepB
|
||||
'role' => 'po-summary-link-refund-orders',
|
||||
'expect' => ['refund_status' => 'has'],
|
||||
],
|
||||
[
|
||||
'role' => 'po-summary-link-view-refund-orders',
|
||||
'expect' => ['refund_status' => 'has'],
|
||||
],
|
||||
[
|
||||
'role' => 'po-summary-link-no-refund-orders',
|
||||
'expect' => ['refund_status' => 'none'],
|
||||
@@ -41,10 +45,18 @@ class AdminPlatformOrderIndexSummaryReceiptRefundLinksShouldHaveDataRoleAndKeepB
|
||||
'role' => 'po-summary-link-receipt-orders',
|
||||
'expect' => ['receipt_status' => 'has'],
|
||||
],
|
||||
[
|
||||
'role' => 'po-summary-link-view-receipt-orders',
|
||||
'expect' => ['receipt_status' => 'has'],
|
||||
],
|
||||
[
|
||||
'role' => 'po-summary-link-no-receipt-orders',
|
||||
'expect' => ['receipt_status' => 'none'],
|
||||
],
|
||||
[
|
||||
'role' => 'po-summary-link-view-no-receipt-orders',
|
||||
'expect' => ['receipt_status' => 'none'],
|
||||
],
|
||||
];
|
||||
|
||||
foreach ($cases as $c) {
|
||||
|
||||
Reference in New Issue
Block a user