WuLiuClientTest.php 415 B

123456789101112131415161718192021
  1. <?php
  2. declare(strict_types=1);
  3. namespace SixShop\AliyunWuliu;
  4. use PHPUnit\Framework\TestCase;
  5. class WuLiuClientTest extends TestCase
  6. {
  7. private WuLiuClient $client;
  8. protected function setUp(): void
  9. {
  10. $this->client = app(WuLiuClient::class);
  11. }
  12. public function testKdi(): void
  13. {
  14. $result = $this->client->kdi('DPK202576722639');
  15. $this->assertIsArray($result);
  16. }
  17. }