fix(platform-orders): align paid-pending governance links with unsynced scope
This commit is contained in:
@@ -28,16 +28,16 @@ class AdminDashboardBillingWorkbenchQuickLinksTest extends TestCase
|
||||
|
||||
$res->assertSee('快捷筛选');
|
||||
|
||||
$res->assertSee('href="/admin/platform-orders?payment_status=unpaid&status=pending"', false);
|
||||
$res->assertSee('href="/admin/platform-orders?payment_status=unpaid&status=pending&back=%2Fadmin"', false);
|
||||
$res->assertSee('待支付');
|
||||
|
||||
$res->assertSee('href="/admin/platform-orders?payment_status=paid&status=pending&sync_status=unsynced"', false);
|
||||
$res->assertSee('href="/admin/platform-orders?payment_status=paid&status=pending&sync_status=unsynced&back=%2Fadmin"', false);
|
||||
$res->assertSee('待生效');
|
||||
|
||||
$res->assertSee('href="/admin/platform-orders?syncable_only=1"', false);
|
||||
$res->assertSee('href="/admin/platform-orders?syncable_only=1&back=%2Fadmin"', false);
|
||||
$res->assertSee('可同步');
|
||||
|
||||
$res->assertSee('href="/admin/platform-orders?sync_status=failed"', false);
|
||||
$res->assertSee('href="/admin/platform-orders?sync_status=failed&back=%2Fadmin"', false);
|
||||
$res->assertSee('同步失败');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ class AdminPlatformOrderTest extends TestCase
|
||||
->assertSee('已退款')
|
||||
->assertSee('退款数')
|
||||
->assertSee('退款总额')
|
||||
->assertSee('/admin/platform-orders?payment_status=paid&status=pending', false);
|
||||
->assertSee('/admin/platform-orders?payment_status=paid&status=pending&sync_status=unsynced', false);
|
||||
}
|
||||
|
||||
public function test_guest_cannot_open_platform_orders_page(): void
|
||||
|
||||
Reference in New Issue
Block a user