* Add switchDB by tests.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
||||
include dirname(dirname(dirname(__FILE__))) . '/class/execution.class.php';
|
||||
$db->switchDB();
|
||||
su('admin');
|
||||
|
||||
/**
|
||||
@@ -26,4 +27,4 @@ r($execution->unlinkCasesTest($executionIDList[0], $products[0], $stories[0])) &
|
||||
r($execution->unlinkCasesTest($executionIDList[1], $products[1], $stories[1])) && p() && e('0'); // 瀑布执行解除关联用例
|
||||
r($execution->unlinkCasesTest($executionIDList[2], $products[2], $stories[2])) && p() && e('0'); // 看板执行解除关联用例
|
||||
|
||||
system("./ztest init");
|
||||
$db->restoreDB();
|
||||
Reference in New Issue
Block a user