WuYongJie 2b6c4030e5
Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
chore: 补充财务与支付模块源码
2026-07-20 18:40:05 +08:00

34 lines
770 B
PHP

<?php
namespace Modules\OfflinePayments\Tests\Feature;
use Tests\Feature\PaymentTestCase;
class PaymentsTest extends PaymentTestCase
{
public $alias = 'offline-payments';
public $payment_request = [
'payment_method' => 'offline-payments.cash.99',
'type' => 'income',
];
public $setting_request = [
'name' => 'offline payments',
'code' => 'offline-payments.cash.99',
'customer' => 1,
'order' => 1,
'description' => 'description',
];
public function testItShouldPayFromSigned()
{
$this->assertPaymentFromSigned();
}
public function testItShouldPayFromPortal()
{
$this->assertPaymentFromPortal();
}
}