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