FormatTest.php 848 B

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