Started PHPUnit Tests

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

15
Tests/core/LoggerTest.php Normal file
View File

@ -0,0 +1,15 @@
<?php
/**
* Created by PhpStorm.
* User: Lukas
* Date: 14. Apr. 2017
* Time: 22:41
*/
use ManiaControl\Logger;
class LoggerTest extends PHPUnit_Framework_TestCase {
public function testGetLogsFolder(){
$this->assertEquals(Logger::getLogsFolder(), MANIACONTROL_PATH . 'logs' . DIRECTORY_SEPARATOR);
}
}