Fix locale for CakeTimeTest when configured different locale in app

This commit is contained in:
Rik van der Heijden 2013-06-08 10:25:28 +02:00
parent b75449df9e
commit 0946a7799a

View file

@ -42,6 +42,7 @@ class CakeTimeTest extends CakeTestCase {
public function setUp() { public function setUp() {
$this->Time = new CakeTime(); $this->Time = new CakeTime();
$this->_systemTimezoneIdentifier = date_default_timezone_get(); $this->_systemTimezoneIdentifier = date_default_timezone_get();
Configure::write('Config.language', 'eng');
} }
/** /**