mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39: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
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue