Don't setup the DateTimeFactory in our tests

DateTimeFactory will be removed soon.

refs #6778
This commit is contained in:
Eric Lippmann 2015-05-19 11:25:06 +02:00
parent ba258524a8
commit 1d6ef5ec3a
1 changed files with 1 additions and 3 deletions

View File

@ -25,7 +25,6 @@ namespace Icinga\Test {
use Mockery;
use PHPUnit_Framework_TestCase;
use Icinga\Application\Icinga;
use Icinga\Util\DateTimeFactory;
use Icinga\Data\ConfigObject;
use Icinga\Data\ResourceFactory;
use Icinga\Data\Db\DbConnection;
@ -104,12 +103,11 @@ namespace Icinga\Test {
);
/**
* Setup the default timezone and pass it to DateTimeFactory::setConfig
* Setup the default timezone
*/
public static function setupTimezone()
{
date_default_timezone_set('UTC');
DateTimeFactory::setConfig(array('timezone' => 'UTC'));
}
/**