FormatTest.php 878 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. namespace Tests\Services\LogisticYDService;
  3. use App\Services\LogisticYDService;
  4. use Tests\TestCase;
  5. use App\LogisticYD;
  6. use App\Traits\TestMockSubServices;
  7. class FormatTest extends TestCase
  8. {
  9. use TestMockSubServices;
  10. /** @var LogisticYDService $service */
  11. public $service;
  12. private $data;
  13. private $amount = 2;
  14. function setUp(): void
  15. {
  16. parent::setUp();
  17. $this->service = app('LogisticYDService');
  18. }
  19. public function testReturned()
  20. {
  21. $this->assertTrue(true);
  22. }
  23. function tearDown(): void
  24. {
  25. parent::tearDown();
  26. }
  27. /**
  28. * @test
  29. */
  30. // public function format_test()
  31. // {
  32. // $this->service->registerApi(['4314543143889']);
  33. // $result = $this->service->format($this->service->query('4314543143889'));
  34. // $this->assertNotEmpty($result);
  35. //
  36. // }
  37. }