Merge pull request #6328 from dhensby/pulls/3.1/test-i18n-fix

FIX Tests shouldnt set date or time format to null
This commit is contained in:
Damian Mooyman 2016-11-24 10:01:42 +13:00 committed by GitHub
commit 730512f036

View File

@ -188,8 +188,6 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
// i18n needs to be set to the defaults or tests fail
i18n::set_locale(i18n::default_locale());
i18n::config()->date_format = null;
i18n::config()->time_format = null;
// Set default timezone consistently to avoid NZ-specific dependencies
date_default_timezone_set('UTC');