Started PHPUnit Tests

This commit is contained in:
kremsy committed 2017-04-15 13:21:49 +02:00
1 parent 19c500c105
commit eb6dc3db1a
6 files changed
+132 -7

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
<?php
use ManiaControl\ManiaControl;
class ManiaControlTest extends PHPUnit_Framework_TestCase {
public function testRun(){
$maniaControl = new ManiaControl();
$maniaControl->run(10);
sleep(15);
//$this->l
//$this->assertNull($maniaControl);
}
/* public function testGetClient(){
$maniaControl = new ManiaControl();
$mcClient = $maniaControl->getClient();
//$maniaControl->connect();
//$mpClient = new Maniaplanet\DedicatedServer\Connection();
}*/
}