LaepIndustryServiceTest.php 904 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. declare(strict_types=1);
  3. namespace SixShop\Lakala\Service;
  4. use PHPUnit\Framework\Attributes\Test;
  5. use PHPUnit\Framework\TestCase;
  6. class LaepIndustryServiceTest extends TestCase
  7. {
  8. private LaepIndustryService $laepIndustryService;
  9. protected function setUp(): void
  10. {
  11. $this->laepIndustryService = app(LaepIndustryService::class);
  12. }
  13. #[Test]
  14. public function ewalletBalanceQuery()
  15. {
  16. $response = $this->laepIndustryService->ewalletBalanceQuery(payType: '03');
  17. dump($response);
  18. }
  19. #[Test]
  20. public function ewalletSettleQuery()
  21. {
  22. $response = $this->laepIndustryService->ewalletSettleQuery('SR2024000184315');
  23. dump($response);
  24. }
  25. #[Test]
  26. public function ewalletSettleProfile()
  27. {
  28. $response = $this->laepIndustryService->ewalletSettleProfile('SR2024000184315', '01');
  29. dump($response);
  30. }
  31. }