Added some PHPUnit Tests

This commit is contained in:
kremsy
2017-04-16 14:43:13 +02:00
parent 879b3056ce
commit 5e0a5c48a2
8 changed files with 285 additions and 15 deletions

View File

@ -2,6 +2,13 @@
use ManiaControl\Logger;
/**
* PHP Unit Test for Logger Class
*
* @author ManiaControl Team <mail@maniacontrol.com>
* @copyright 2014-2017 ManiaControl Team
* @license http://www.gnu.org/licenses/ GNU General Public License, Version 3
*/
class LoggerTest extends PHPUnit_Framework_TestCase {
public function testGetLogsFolder(){
$this->assertEquals(Logger::getLogsFolder(), MANIACONTROL_PATH . 'logs' . DIRECTORY_SEPARATOR);