| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- namespace LogisticZopService;
- use App\Services\LogisticZopService;
- use Carbon\Carbon;
- use Tests\TestCase;
- class LogisticZopServiceTest extends TestCase
- {
- protected $logisticZopService;
- protected function setUp(): void
- {
- parent::setUp(); // TODO: Change the autogenerated stub
- $this->logisticZopService = new LogisticZopService();
- }
- protected function tearDown(): void
- {
- parent::tearDown(); // TODO: Change the autogenerated stub
- }
- /**
- * @test
- */
- public function get_test()
- {
- $result = $this->logisticZopService->get(['75451837176537']);
- dd($result);
- }
- /**
- * @test
- */
- public function carbon_test()
- {
- $result =Carbon::parse(1617293640000)->toDateTimeString();
- dd($result);
- }
- }
|