feat: plans export require download=1 safety valve
This commit is contained in:
@@ -36,7 +36,7 @@ class AdminPlanExportTest extends TestCase
|
||||
'description' => '用于导出断言',
|
||||
]);
|
||||
|
||||
$res = $this->get('/admin/plans/export');
|
||||
$res = $this->get('/admin/plans/export?download=1');
|
||||
|
||||
$res->assertOk();
|
||||
$res->assertHeader('content-type', 'text/csv; charset=UTF-8');
|
||||
|
||||
Reference in New Issue
Block a user