| 1234567891011121314151617181920212223242526272829 |
- <?php
- declare(strict_types=1);
- namespace SixShop\Wechat\Service;
- use PHPUnit\Framework\Attributes\Test;
- use PHPUnit\Framework\TestCase;
- class ExpressServiceTest extends TestCase
- {
- private ExpressService $expressService;
- protected function setUp(): void
- {
- $this->expressService = app(ExpressService::class);
- }
- #[Test]
- public function getAllDelivery()
- {
- $res = $this->expressService->getAllDelivery();
- dump($res);
- }
- #[Test]
- public function queryOrder()
- {
- $res = $this->expressService->queryOrder('4200002925202511205107137676');
- dump($res);
- }
- }
|