SyncTest.php 486 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace Tests\Services\LogisticYTSync;
  3. use App\Jobs\LogisticYTOSync;
  4. use App\Services\LogisticYTOService;
  5. use Tests\TestCase;
  6. class SyncTest extends TestCase
  7. {
  8. /** @var LogisticYTOService $service */
  9. public $service;
  10. function setUp(): void
  11. {
  12. parent::setUp();
  13. $this->service = app('LogisticYTOService');
  14. }
  15. /**
  16. * @test
  17. */
  18. public function format_test()
  19. {
  20. LogisticYTOSync::dispatch('YT5781193551713');
  21. }
  22. }