ExpressServiceTest.php 634 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. declare(strict_types=1);
  3. namespace SixShop\Wechat\Service;
  4. use PHPUnit\Framework\Attributes\Test;
  5. use PHPUnit\Framework\TestCase;
  6. class ExpressServiceTest extends TestCase
  7. {
  8. private ExpressService $expressService;
  9. protected function setUp(): void
  10. {
  11. $this->expressService = app(ExpressService::class);
  12. }
  13. #[Test]
  14. public function getAllDelivery()
  15. {
  16. $res = $this->expressService->getAllDelivery();
  17. dump($res);
  18. }
  19. #[Test]
  20. public function queryOrder()
  21. {
  22. $res = $this->expressService->queryOrder('4200002925202511205107137676');
  23. dump($res);
  24. }
  25. }