From 11d62895226fafa88fd6fc5b74bddc3ec91946bb Mon Sep 17 00:00:00 2001 From: yueyang <2495544247@qq.com> Date: Tue, 1 Dec 2026 15:43:29 +0800 Subject: [PATCH] =?UTF-8?q?test(=E5=8F=91=E7=A5=A8=E6=95=B0=E6=8D=AE):=20?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E5=AF=BC=E5=87=BA=E6=8E=92=E9=99=A4=E8=8C=83?= =?UTF-8?q?=E5=9B=B4=E5=A4=96=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Feature/Business/InvoiceDataPageTest.php | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/Feature/Business/InvoiceDataPageTest.php b/tests/Feature/Business/InvoiceDataPageTest.php index ccc36215..81900d57 100644 --- a/tests/Feature/Business/InvoiceDataPageTest.php +++ b/tests/Feature/Business/InvoiceDataPageTest.php @@ -312,17 +312,6 @@ class InvoiceDataPageTest extends FeatureTestCase ]); $this->user->attachPermission(Permission::where('name', 'read-admin-panel')->firstOrFail()); - $export = $this->loginAs()->get(route('business.invoice-data.export', [ - 'month' => '2026-10', - 'invoice_view' => DingInvoiceDataMirrorRepository::VIEW_FLOWS, - 'invoice_state' => 'all', - ])); - $export->assertOk(); - $this->assertStringNotContainsString( - 'FLOW-OUTSIDE-SCOPE', - $export->streamedContent(), - ); - $this->loginAs() ->get(route('business.pages.show', [ 'section' => 'process-data', @@ -482,6 +471,17 @@ class InvoiceDataPageTest extends FeatureTestCase ); $this->user->attachPermission(Permission::where('name', 'read-admin-panel')->firstOrFail()); + $export = $this->loginAs()->get(route('business.invoice-data.export', [ + 'month' => '2026-10', + 'invoice_view' => DingInvoiceDataMirrorRepository::VIEW_FLOWS, + 'invoice_state' => 'all', + ])); + $export->assertOk(); + $this->assertStringNotContainsString( + 'FLOW-OUTSIDE-SCOPE', + $export->streamedContent(), + ); + $this->loginAs() ->get(route('business.pages.show', [ 'section' => 'process-data',