mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Oops, added class name
This commit is contained in:
parent
46e6cd37b7
commit
f5e640c875
3 changed files with 2 additions and 7 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 src/tests/
|
- phpunit ServerSuiteTest src/tests/ServerSuiteTest.php
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ if(class_exists("PHPUnit_Framework_TestCase", false)){
|
||||||
|
|
||||||
public function testRead(){
|
public function testRead(){
|
||||||
define("NO_THREADS", true);
|
define("NO_THREADS", true);
|
||||||
|
define("DEBUG", -1); //No output
|
||||||
require_once(dirname(__FILE__)."/../dependencies.php");
|
require_once(dirname(__FILE__)."/../dependencies.php");
|
||||||
require_once(FILE_PATH."/src/functions.php");
|
require_once(FILE_PATH."/src/functions.php");
|
||||||
require_once(FILE_PATH."/src/dependencies.php");
|
require_once(FILE_PATH."/src/dependencies.php");
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<phpunit>
|
|
||||||
<testsuite name='PocketMine-MP'>
|
|
||||||
<directory suffix='.php'>./</directory>
|
|
||||||
</testsuite>
|
|
||||||
</phpunit>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue