diff --git a/module/zahost/test/model/checkaddress.php b/module/zahost/test/model/checkaddress.php index 144dd8866e..0a8275e481 100755 --- a/module/zahost/test/model/checkaddress.php +++ b/module/zahost/test/model/checkaddress.php @@ -16,7 +16,7 @@ include dirname(__FILE__, 5) . '/test/lib/init.php'; include dirname(__FILE__, 2) . '/zahost.class.php'; su('admin'); -$addressList = array('a', 'www.baidu.com', '10.0.1.222'); +$addressList = array('a', 'www.baidu.com', '10.0.0.133'); $zahost = new zahostTest(); r($zahost->checkAddress($addressList[1])) && p('') && e('1'); //测试正常域名得到的结果 diff --git a/module/zahost/test/model/create.php b/module/zahost/test/model/create.php index f84a1c5131..038e250e76 100755 --- a/module/zahost/test/model/create.php +++ b/module/zahost/test/model/create.php @@ -33,7 +33,7 @@ $hostInfo = new stdclass(); $hostInfo->vsoft = 'kvm'; $hostInfo->hostType = 'physical'; $hostInfo->name = ''; -$hostInfo->extranet = '10.0.1.222'; +$hostInfo->extranet = '10.0.0.133'; $hostInfo->cpuCores = ''; $hostInfo->memory = ''; $hostInfo->diskSize = ''; diff --git a/module/zahost/test/model/update.php b/module/zahost/test/model/update.php index 0e927c37a3..ba10c6962a 100755 --- a/module/zahost/test/model/update.php +++ b/module/zahost/test/model/update.php @@ -36,7 +36,7 @@ $hostInfo->id = 1; $hostInfo->vsoft = 'kvm'; $hostInfo->hostType = 'physical'; $hostInfo->name = ''; -$hostInfo->extranet = '10.0.1.222'; +$hostInfo->extranet = '10.0.0.133'; $hostInfo->cpuCores = ''; $hostInfo->memory = ''; $hostInfo->diskSize = '';