mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Remove test suites on compile
This commit is contained in:
parent
d8124d9ddd
commit
5d27a40a6e
1 changed files with 6 additions and 5 deletions
|
|
@ -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;
|
||||||
|
|
@ -36,4 +36,5 @@ if(!class_exists("PHPUnit_Framework_TestCase", false)){
|
||||||
$this->server->init();
|
$this->server->init();
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/***REM_END***/
|
||||||
Loading…
Add table
Add a link
Reference in a new issue