mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Explicit timezone settings in e_DateTest and e_formTest
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
{
|
||||
// Expected values made using the C locale
|
||||
setlocale(LC_TIME, 'C');
|
||||
date_default_timezone_set('UTC');
|
||||
|
||||
try
|
||||
{
|
||||
|
@@ -704,6 +704,7 @@ class e_formTest extends \Codeception\Test\Unit
|
||||
*/
|
||||
public function testRenderValue()
|
||||
{
|
||||
date_default_timezone_set('America/Los_Angeles');
|
||||
|
||||
$frm = $this->_frm;
|
||||
|
||||
|
Reference in New Issue
Block a user