FormatTest.php 957 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace Tests\Services\LogisticAliJiSuApiService;
  3. use App\Services\LogisticAliJiSuApiService;
  4. use App\Services\LogisticYDService;
  5. use App\Services\LogisticYTOService;
  6. use BeyondCode\DumpServer\DumpServerServiceProvider;
  7. use Tests\TestCase;
  8. use App\LogisticYD;
  9. use App\Traits\TestMockSubServices;
  10. class FormatTest extends TestCase
  11. {
  12. use TestMockSubServices;
  13. /** @var LogisticAliJiSuApiService $service */
  14. public $service;
  15. private $data;
  16. private $amount = 2;
  17. function setUp(): void
  18. {
  19. parent::setUp();
  20. $this->service = app('LogisticAliJiSuApiService');
  21. }
  22. /**
  23. * @test
  24. */
  25. public function format_test()
  26. {
  27. // $response=$this->service->query('JDVB09966674081');
  28. // if ($response && $response->status==0){
  29. // $result = $this->service->format($response);
  30. // $this->assertNotEmpty($result);
  31. // }
  32. $this->assertTrue(true);
  33. }
  34. }