Added some PHPUnit Tests
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user