Moved conditional class

This commit is contained in:
Shoghi Cervantes 2013-08-28 17:17:34 +02:00
parent eba33b0e00
commit 3608ee1194
2 changed files with 5 additions and 3 deletions

View File

@ -20,6 +20,10 @@
*/
/***REM_START***/
if(!class_exists("PHPUnit_Framework_TestCase", false)){
class PHPUnit_Framework_TestCase{
}
}
require_once(dirname(__FILE__)."/config.php");
require_once(FILE_PATH."/src/functions.php");
/***REM_END***/

View File

@ -1,8 +1,7 @@
<?php
/***REM_START***/
if(!class_exists("PocketMinecraftServer", false)){
class ServerSuiteTest extends PHPUnit_Framework_TestCase{
private $server;
public function testStart(){
define("NO_THREADS", true);
define("DEBUG", -1); //No output
@ -29,5 +28,4 @@
ServerAPI::request()->close();
}
}
}
/***REM_END***/