diff --git a/dev/SapphireTest.php b/dev/SapphireTest.php index b1284a8aa..3e056e3e7 100755 --- a/dev/SapphireTest.php +++ b/dev/SapphireTest.php @@ -108,6 +108,8 @@ class SapphireTest extends PHPUnit_Framework_TestCase { $this->originalIsRunningTest = self::$is_running_test; self::$is_running_test = true; + // i18n needs to be set to the defaults or tests fail + i18n::set_locale(i18n::default_locale()); i18n::set_date_format(null); i18n::set_time_format(null);