mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 11:57:10 +00:00
Firce exit(0)
This commit is contained in:
parent
3608ee1194
commit
b8594ab48f
@ -7,7 +7,7 @@ before_script:
|
|||||||
- pecl install channel://pecl.php.net/pthreads-0.0.44
|
- pecl install channel://pecl.php.net/pthreads-0.0.44
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- phpunit --configuration phpunit.xml
|
- phpunit --process-isolation --configuration phpunit.xml
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
$server->load();
|
$server->load();
|
||||||
$this->assertTrue(is_integer($server->event("server.start", array($this, "hook"))));
|
$this->assertTrue(is_integer($server->event("server.start", array($this, "hook"))));
|
||||||
$server->init();
|
$server->init();
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hook(){
|
public function hook(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user