| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- namespace Tests\Services\LogisticYDService;
- use App\OrderPackage;
- use App\Services\LogisticYDService;
- use Illuminate\Support\Facades\Http;
- use Tests\TestCase;
- class QueryTest extends TestCase
- {
- /**
- * @var $service LogisticYDService
- */
- private $service;
- protected function setUp(): void
- {
- parent::setUp(); // TODO: Change the autogenerated stub
- $this->service = app('LogisticYDService');
- }
- /**
- * @test
- */
- public function queryTest()
- {
- // $this->service->query('340987657890876');
- $this->assertTrue(true);
- }
- /**
- * @test
- */
- // public function prod_test()
- // {
- // $response = $this->service->query('4314519335027');
- // dump($response);
- // $this->assertEquals('0000', $response->code);
- // }
- }
|