SyncLogisticRouteTest.php 831 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace Tests\Services\OrderPackageReceivedSyncService;
  3. use App\Services\OrderPackageReceivedSyncService;
  4. use Tests\TestCase;
  5. use App\Traits\TestMockSubServices;
  6. class SyncLogisticRouteTest extends TestCase
  7. {
  8. use TestMockSubServices;
  9. /** @var OrderPackageReceivedSyncService $service */
  10. public $service;
  11. private $data;
  12. private $amount=2;
  13. function setUp(): void
  14. {
  15. parent::setUp();
  16. $this->service = app('OrderPackageReceivedSyncService');
  17. }
  18. public function testReturned()
  19. {
  20. $this->assertTrue(true);
  21. }
  22. function tearDown(): void
  23. {
  24. parent::tearDown();
  25. }
  26. /**
  27. * @throws \Exception
  28. * @test
  29. */
  30. public function sync_test()
  31. {
  32. $this->service->syncLogisticRoute();
  33. // $this->assertTrue(true);
  34. }
  35. }