mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Remove test suites on compile
This commit is contained in:
parent
d8124d9ddd
commit
5d27a40a6e
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
if(!class_exists("PHPUnit_Framework_TestCase", false)){
|
||||
class PHPUnit_Framework_TestCase{} //Normal include
|
||||
}
|
||||
/***REM_START***/
|
||||
if(class_exists("PocketMinecraftServer", false)){
|
||||
return;
|
||||
}
|
||||
|
||||
class ServerSuiteTest extends PHPUnit_Framework_TestCase{
|
||||
private $server;
|
||||
@ -36,4 +36,5 @@ if(!class_exists("PHPUnit_Framework_TestCase", false)){
|
||||
$this->server->init();
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
/***REM_END***/
|
Loading…
x
Reference in New Issue
Block a user