TrackManiaControl/phpunittests/core/LoggerTest.php

17 lines
452 B
PHP
Raw Normal View History

2017-04-15 23:20:36 +02:00
<?php
use ManiaControl\Logger;
2017-04-16 14:43:13 +02:00
/**
* 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
*/
2017-04-15 23:20:36 +02:00
class LoggerTest extends PHPUnit_Framework_TestCase {
public function testGetLogsFolder(){
$this->assertEquals(Logger::getLogsFolder(), MANIACONTROL_PATH . 'logs' . DIRECTORY_SEPARATOR);
}
}