mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-08 04:48:10 +08:00
22 lines
446 B
PHP
22 lines
446 B
PHP
<?php
|
|
|
|
namespace think\admin\tests;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use plugin\account\service\Account;
|
|
use plugin\payment\service\Payment;
|
|
|
|
class PaymentTest extends TestCase
|
|
{
|
|
public function testGetTypes()
|
|
{
|
|
$all = Payment::types();
|
|
$this->assertNotEmpty($all);
|
|
}
|
|
|
|
public function testGetTypesByChannel()
|
|
{
|
|
$all = Payment::typesByAccess(Account::WXAPP);
|
|
$this->assertNotEmpty($all);
|
|
}
|
|
} |