| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- namespace Tests\Services\LogisticAliJiSuApiService;
- use App\Services\LogisticAliJiSuApiService;
- use App\Services\LogisticYDService;
- use App\Services\LogisticYTOService;
- use BeyondCode\DumpServer\DumpServerServiceProvider;
- use Tests\TestCase;
- use App\LogisticYD;
- use App\Traits\TestMockSubServices;
- class FormatTest extends TestCase
- {
- use TestMockSubServices;
- /** @var LogisticAliJiSuApiService $service */
- public $service;
- private $data;
- private $amount = 2;
- function setUp(): void
- {
- parent::setUp();
- $this->service = app('LogisticAliJiSuApiService');
- }
- /**
- * @test
- */
- public function format_test()
- {
- // $response=$this->service->query('JDVB09966674081');
- // if ($response && $response->status==0){
- // $result = $this->service->format($response);
- // $this->assertNotEmpty($result);
- // }
- $this->assertTrue(true);
- }
- }
|