From ce2d37428c03e2ea927a2ef34e7cd2ac8802ee67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Wed, 18 Mar 2026 21:39:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=BC=BA=E5=B9=B3=E5=8F=B0=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E6=B2=BB=E7=90=86=E5=BF=AB=E6=8D=B7=E5=85=A5=E5=8F=A3?= =?UTF-8?q?=E5=B7=B2=E4=BB=98=E6=97=A0=E5=9B=9E=E6=89=A7=E6=8A=A4=E6=A0=8F?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...tformOrderIndexLeadGovernanceQuickLinksExpandedTest.php | 7 +++++++ ...erIndexSubscriptionGovernanceQuickLinksExpandedTest.php | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/tests/Feature/AdminPlatformOrderIndexLeadGovernanceQuickLinksExpandedTest.php b/tests/Feature/AdminPlatformOrderIndexLeadGovernanceQuickLinksExpandedTest.php index 4106245..2163009 100644 --- a/tests/Feature/AdminPlatformOrderIndexLeadGovernanceQuickLinksExpandedTest.php +++ b/tests/Feature/AdminPlatformOrderIndexLeadGovernanceQuickLinksExpandedTest.php @@ -44,6 +44,12 @@ class AdminPlatformOrderIndexLeadGovernanceQuickLinksExpandedTest extends TestCa 'status' => 'pending', ]); + $paidNoReceiptUrl = '/admin/platform-orders?' . Arr::query([ + 'lead_id' => $leadId, + 'payment_status' => 'paid', + 'receipt_status' => 'none', + ]); + $bmpaUrl = '/admin/platform-orders?' . Arr::query([ 'lead_id' => $leadId, 'payment_status' => 'unpaid', @@ -62,6 +68,7 @@ class AdminPlatformOrderIndexLeadGovernanceQuickLinksExpandedTest extends TestCa $res->assertSee($unpaidUrl, false); $res->assertSee($paidPendingUrl, false); + $res->assertSee($paidNoReceiptUrl, false); $res->assertSee($bmpaUrl, false); $res->assertSee($syncableUrl, false); $res->assertSee($syncFailedUrl, false); diff --git a/tests/Feature/AdminPlatformOrderIndexSubscriptionGovernanceQuickLinksExpandedTest.php b/tests/Feature/AdminPlatformOrderIndexSubscriptionGovernanceQuickLinksExpandedTest.php index 3904687..7bc5c42 100644 --- a/tests/Feature/AdminPlatformOrderIndexSubscriptionGovernanceQuickLinksExpandedTest.php +++ b/tests/Feature/AdminPlatformOrderIndexSubscriptionGovernanceQuickLinksExpandedTest.php @@ -80,9 +80,16 @@ class AdminPlatformOrderIndexSubscriptionGovernanceQuickLinksExpandedTest extend 'status' => 'pending', ]); + $paidNoReceiptUrl = '/admin/platform-orders?' . Arr::query([ + 'site_subscription_id' => $sub->id, + 'payment_status' => 'paid', + 'receipt_status' => 'none', + ]); + $res->assertSee($syncableUrl, false); $res->assertSee($failedUrl, false); $res->assertSee($unpaidUrl, false); $res->assertSee($paidPendingUrl, false); + $res->assertSee($paidNoReceiptUrl, false); } }