* Powered by PhpStorm * Created on 2025/8/27 */ use Singularity\HDK\Pay\Domain\Account\Aggregate\PointLog\PointLog; use Singularity\HDK\Pay\Infrastructure\Repository\PointLogRepo; use function Hyperf\Support\make; it('should can query point log list', function () { $uid = '61a74db54f387'; $repo = make(PointLogRepo::class); $list = $repo->getList($uid); expect($list) ->not->toBeEmpty() ->each ->toBeInstanceOf(PointLog::class); }); it('should can query a point log', function () { $case_id = '68b6ac37a6440'; $repo = make(PointLogRepo::class); $log = $repo->getDetail($case_id); expect($log) ->toBeInstanceOf(PointLog::class); });