| 123456789101112131415161718192021222324252627 |
- <?php
- declare(strict_types=1);
- namespace SixShop\Wechat\Service;
- use PHPUnit\Framework\Attributes\Test;
- use PHPUnit\Framework\TestCase;
- class MiniAppTest extends TestCase
- {
- private MiniApp $miniApp;
- protected function setUp(): void
- {
- $this->miniApp = app(MiniApp::class);
- }
- #[Test]
- public function getwxacodeunlimit()
- {
- $response = $this->miniApp->getClient()->postJson('/wxa/getwxacodeunlimit', [
- 'scene' => 'invite_code=' . 1234,
- 'check_path' => false,
- 'env_version' => 'develop'
- ]);
- }
- }
|