mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
Firce exit(0)
This commit is contained in:
parent
3608ee1194
commit
b8594ab48f
2 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue