diff --git a/tests/Feature/AdminPlatformOrderIndexQuickFiltersReceiptAndRefundStatusShouldHaveDataRoleTest.php b/tests/Feature/AdminPlatformOrderIndexQuickFiltersReceiptAndRefundStatusShouldHaveDataRoleTest.php index 6b00bab..204edec 100644 --- a/tests/Feature/AdminPlatformOrderIndexQuickFiltersReceiptAndRefundStatusShouldHaveDataRoleTest.php +++ b/tests/Feature/AdminPlatformOrderIndexQuickFiltersReceiptAndRefundStatusShouldHaveDataRoleTest.php @@ -29,12 +29,13 @@ class AdminPlatformOrderIndexQuickFiltersReceiptAndRefundStatusShouldHaveDataRol $html = (string) $res->getContent(); $this->assertStringContainsString('data-role="po-quickfilter-receipt-has"', $html); - $this->assertStringContainsString('data-role="po-quickfilter-receipt-none"', $html); + $this->assertStringContainsString('data-role="po-quickfilter-paid-no-receipt"', $html); $this->assertStringContainsString('data-role="po-quickfilter-refund-has"', $html); $this->assertStringContainsString('data-role="po-quickfilter-refund-none"', $html); // 也钉一下关键 query 语义 $this->assertStringContainsString('receipt_status=has', $html); + $this->assertStringContainsString('payment_status=paid', $html); $this->assertStringContainsString('receipt_status=none', $html); $this->assertStringContainsString('refund_status=has', $html); $this->assertStringContainsString('refund_status=none', $html); diff --git a/tests/Feature/AdminPlatformOrderIndexQuickFiltersReceiptAndRefundStatusShouldPreserveContextTest.php b/tests/Feature/AdminPlatformOrderIndexQuickFiltersReceiptAndRefundStatusShouldPreserveContextTest.php index 0c1fd0f..0758a47 100644 --- a/tests/Feature/AdminPlatformOrderIndexQuickFiltersReceiptAndRefundStatusShouldPreserveContextTest.php +++ b/tests/Feature/AdminPlatformOrderIndexQuickFiltersReceiptAndRefundStatusShouldPreserveContextTest.php @@ -39,8 +39,8 @@ class AdminPlatformOrderIndexQuickFiltersReceiptAndRefundStatusShouldPreserveCon 'expect' => ['receipt_status' => 'has'], ], [ - 'role' => 'po-quickfilter-receipt-none', - 'expect' => ['receipt_status' => 'none'], + 'role' => 'po-quickfilter-paid-no-receipt', + 'expect' => ['payment_status' => 'paid', 'receipt_status' => 'none'], ], [ 'role' => 'po-quickfilter-refund-has',