mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 05:58:46 +02:00
adapt StatusTests.php to work on both iTop repository and packaged zip
This commit is contained in:
@@ -20,7 +20,7 @@ class StatusTest extends ItopTestCase {
|
||||
*
|
||||
*/
|
||||
public function testStatusWrongUrl() {
|
||||
$sPath = APPROOT . 'status_wrong.php';
|
||||
$sPath = 'status_wrong.php';
|
||||
|
||||
exec("php $sPath", $aOutput, $iRet);
|
||||
|
||||
@@ -31,7 +31,7 @@ class StatusTest extends ItopTestCase {
|
||||
*
|
||||
*/
|
||||
public function testStatusGood() {
|
||||
$sPath = APPROOT . 'status.php';
|
||||
$sPath = 'status.php';
|
||||
|
||||
exec("php $sPath", $aOutput, $iRet);
|
||||
|
||||
@@ -42,7 +42,7 @@ class StatusTest extends ItopTestCase {
|
||||
*
|
||||
*/
|
||||
public function testStatusGoodWithJson() {
|
||||
$sPath = APPROOT . 'status.php';
|
||||
$sPath = 'status.php';
|
||||
|
||||
exec("php $sPath", $aOutput, $iRet);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user