You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
roundcubemail/tests/Framework/Config.php

30 lines
613 B
PHP

<?php
/**
* Test class to test rcube_config class
*
* @package Tests
*/
class Framework_Config extends PHPUnit\Framework\TestCase
{
/**
* Class constructor
*/
function test_class()
{
$object = new rcube_config();
$this->assertInstanceOf('rcube_config', $object, "Class constructor");
}
/**
* Test resolve_timezone_alias()
*/
function test_resolve_timezone_alias()
{
$this->assertSame('UTC', rcube_config::resolve_timezone_alias('Etc/GMT'));
$this->assertSame('UTC', rcube_config::resolve_timezone_alias('Etc/Zulu'));
}
}