mirror of
http://124.126.16.154:8888/singularity/hdk-pay.git
synced 2026-01-15 07:35:09 +08:00
- 新增 QueryAccountInformationTest 以测试账户信息查询功能 - 实现 getAccount 方法的单元测试 - 添加测试引导文件和 HTTP 测试用例基类 - 更新 composer.json 和 composer.lock 文件
33 lines
1.0 KiB
PHP
33 lines
1.0 KiB
PHP
<?php
|
|
|
|
use Singularity\HDK\Test\Pay\HttpTestCase;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Test Case
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The closure you provide to your tests functions is always bound to a specific PHPUnit tests
|
|
| case class. By default, that class is "PHPUnit\Framework\TestCase". Of course, you may
|
|
| need to change it using the "uses()" function to bind a different classes or traits.
|
|
|
|
|
*/
|
|
|
|
// uses(HttpTestCase::class)->in('Feature');
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Functions
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| While Pest is very powerful out-of-the-box, you may have some testing code specific to your
|
|
| project that you don't want to repeat in every file. Here you can also expose helpers as
|
|
| global functions to help you to reduce the number of lines of code in your tests files.
|
|
|
|
|
*/
|
|
|
|
/*function something()
|
|
{
|
|
// ..
|
|
}*/
|