FormatTest.php 921 B

123456789101112131415161718192021222324252627282930313233343536373839
  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('9830318696194');
  28. // $result = $this->service->format($response, '9830318696194');
  29. // dd($result);
  30. // $this->assertNotEmpty($result);
  31. $this->assertTrue(true);
  32. }
  33. }