Skip to content

Commit

Permalink
Fixed tests that relied on date.timezone=UTC to work
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Jun 10, 2022
1 parent e86acb1 commit 242b943
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/date/tests/bug73239.phpt
@@ -1,5 +1,7 @@
--TEST--
Bug #73239 (Odd warning/exception message with invalid timezones)
--INI--
date.timezone=UTC
--FILE--
<?php
ini_set('date.timezone', 'dummy');
Expand Down
2 changes: 2 additions & 0 deletions ext/date/tests/ini_set_incorrect-002.phpt
@@ -1,5 +1,7 @@
--TEST--
Test invalid time zone and defaults
--INI--
date.timezone=UTC
--FILE--
<?php
echo ini_get("date.timezone"), "\n";
Expand Down
2 changes: 2 additions & 0 deletions ext/date/tests/ini_set_incorrect.phpt
@@ -1,5 +1,7 @@
--TEST--
Test invalid time zone passed to ini_set
--INI--
date.timezone=UTC
--FILE--
<?php

Expand Down

0 comments on commit 242b943

Please sign in to comment.