Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark DBDatetimeTest skipped on wrong offsets, rather than error out.
While well-intentioned, this test keeps causing problems due to wrong timezone settings in test mode. It shouldn't completely abort test execution, since its more of an environment sanity check than a failed test. Refactored to mark test skipped (regardless of offset, as long as its greater than 5 seconds). And skipping tests altogether on SQLite3 with new supportsTimezoneOverride() check. SapphireTest->setUp() sets the PHP timezone to UTC (see 5954774), but SQLite doesn't support this for a DB connection. Since changing it on a global UNIX system level is infeasible, the tests need to be skipped.
- Loading branch information
Showing
1 changed file
with
82 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters