Skip to content

Commit

Permalink
Merge pull request #36 from liushuai/feat-k5
Browse files Browse the repository at this point in the history
修改  K5杰航测试用例
  • Loading branch information
icowan authored Dec 22, 2020
2 parents 443a3ce + e9b69e9 commit 94c5f02
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/platforms/K5PlatformTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


require_once("../../vendor/autoload.php");
require_once("D:/phpstudy_pro/WWW/ft-erp/vendor/yiier/yii2-cross-border-express/tests/PHPUnit_Framework_TestCase.php");
require_once("../PHPUnit_Framework_TestCase.php");
use yiier\crossBorderExpress\test;
use yiier\crossBorderExpress\contracts\Goods;
use yiier\crossBorderExpress\contracts\Order;
Expand All @@ -31,9 +31,9 @@ class K5PlatformTest extends \PHPUnit_Framework_TestCase
"timeout" => 60.0,
"platforms" => [
\yiier\crossBorderExpress\platforms\PlatformsName::K5_PLATFORM => [
"host" => "http://cje56.kingtrans.net",
"clientid" => "KLXX",
"token" => "9868p7SfORYS4d1wFm9L",
"host" => "http://xt.jiehang.net",
"clientid" => "KLXX008",
"token" => "IPLLEx18PbUSd8Fygejo",
//"warehouse_code" => "SZ"
]
]
Expand Down Expand Up @@ -62,6 +62,7 @@ public function testCreateOrder()
{
$express = new Express($this->config, PlatformsName::K5_PLATFORM);
try {
//var_dump($express->searchStartChannel());exit;
$orderResult = $express->createOrder($this->getExpressOrder());

var_dump($orderResult->expressNumber);
Expand Down

0 comments on commit 94c5f02

Please sign in to comment.