| 12345678910111213141516171819202122 |
- <?php
- declare(strict_types=1);
- namespace SixShop\Points\Entity;
- use PHPUnit\Framework\TestCase;
- class UserPointEntityTest extends TestCase
- {
- protected UserPointEntity $userPointEntity;
- protected function setUp(): void
- {
- $this->userPointEntity = app(UserPointEntity::class);
- }
- /**
- * 测试添加积分
- */
- public function testAdd()
- {
- $this->userPointEntity->add(1, 100);
- }
- }
|