Skip to content

Commit

Permalink
Use Europe/Berlin for these tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 1, 2015
1 parent 2ced7d8 commit 579340f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kronolith/test/Kronolith/Integration/ToIcalendarTest.php
Expand Up @@ -31,6 +31,8 @@ class Kronolith_Integration_ToIcalendarTest extends Kronolith_TestCase
{
public function setUp()
{
$this->_timezone = date_default_timezone_get();
date_default_timezone_set('Europe/Berlin');
$GLOBALS['registry'] = new Kronolith_Stub_Registry('test', 'kronolith');
$GLOBALS['injector'] = new Horde_Injector(new Horde_Injector_TopLevel());
$GLOBALS['conf']['prefs']['driver'] = 'Null';
Expand All @@ -46,6 +48,7 @@ public function tearDown()
unset($GLOBALS['registry']);
unset($GLOBALS['injector']);
unset($GLOBALS['conf']);
date_default_timezone_set($this->_timezone);
}

public function testBasicVersion1()
Expand Down

0 comments on commit 579340f

Please sign in to comment.