seed(); $this->post('/admin/login', [ 'email' => 'platform.admin@demo.local', 'password' => 'Platform@123456', ])->assertRedirect('/admin'); } public function test_refund_total_card_should_link_to_refund_orders_list(): void { $this->loginAsPlatformAdmin(); $this->get('/admin/platform-orders') ->assertOk() ->assertSee('退款总额') ->assertSee('查看有退款订单') ->assertSee('refund_status=has'); } }