File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,8 @@ def test_time_with_default_timezone_utc
303
303
end
304
304
305
305
def test_time_with_default_timezone_local
306
+ skip "with_system_tz not working in tomcat" if ActiveRecord ::Base . connection . raw_connection . jndi?
307
+
306
308
with_system_tz 'Europe/Prague' do
307
309
Time . use_zone 'Europe/Prague' do
308
310
with_timezone_config default : :local do
@@ -325,6 +327,8 @@ def test_time_with_default_timezone_local
325
327
#
326
328
327
329
def test_preserving_time_objects_with_utc_time_conversion_to_default_timezone_local
330
+ skip "with_system_tz not working in tomcat" if ActiveRecord ::Base . connection . raw_connection . jndi?
331
+
328
332
with_system_tz 'America/New_York' do # with_env_tz in Rails' tests
329
333
with_timezone_config default : :local do
330
334
time = Time . utc ( 2000 )
@@ -341,6 +345,8 @@ def test_preserving_time_objects_with_utc_time_conversion_to_default_timezone_lo
341
345
end
342
346
343
347
def test_preserving_time_objects_with_time_with_zone_conversion_to_default_timezone_local
348
+ skip "with_system_tz not working in tomcat" if ActiveRecord ::Base . connection . raw_connection . jndi?
349
+
344
350
with_system_tz 'America/New_York' do # with_env_tz in Rails' tests
345
351
with_timezone_config default : :local do
346
352
Time . use_zone 'Central Time (US & Canada)' do
You can’t perform that action at this time.
0 commit comments