HandleTest.php 621 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace Tests\Services\LogisticSFSync;
  3. use App\Jobs\LogisticSFSync;
  4. use Tests\TestCase;
  5. use App\Traits\TestMockSubServices;
  6. class HandleTest extends TestCase
  7. {
  8. use TestMockSubServices;
  9. private $data;
  10. private $amount=2;
  11. function setUp(): void
  12. {
  13. parent::setUp();
  14. }
  15. public function testReturned()
  16. {
  17. $this->assertTrue(true);
  18. }
  19. function tearDown(): void
  20. {
  21. parent::tearDown();
  22. }
  23. /**
  24. * @test
  25. */
  26. public function handle_test()
  27. {
  28. LogisticSFSync::dispatch('SF1320174725157');
  29. $this->assertTrue(true);
  30. }
  31. }