Fix broken tests
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit Details

This commit is contained in:
Timothy Warren 2021-02-23 13:10:26 -05:00
parent e25c68b97c
commit 160718eaa1
3 changed files with 79 additions and 83 deletions

View File

@ -44,7 +44,6 @@
"danielstjules/stringy": "^3.1.0", "danielstjules/stringy": "^3.1.0",
"ext-dom": "*", "ext-dom": "*",
"ext-iconv": "*", "ext-iconv": "*",
"ext-intl": "*",
"ext-json": "*", "ext-json": "*",
"ext-gd": "*", "ext-gd": "*",
"ext-pdo": "*", "ext-pdo": "*",
@ -53,11 +52,12 @@
"laminas/laminas-httphandlerrunner": "^1.1.0", "laminas/laminas-httphandlerrunner": "^1.1.0",
"maximebf/consolekit": "^1.0.3", "maximebf/consolekit": "^1.0.3",
"monolog/monolog": "^2.0.2", "monolog/monolog": "^2.0.2",
"php": "^8.0.0", "php": ">= 8.0.0",
"psr/container": "^1.0.0", "psr/container": "^1.0.0",
"psr/http-message": "^1.0.1", "psr/http-message": "^1.0.1",
"psr/log": "^1.1.3", "psr/log": "^1.1.3",
"robmorgan/phinx": "^0.12.4", "robmorgan/phinx": "^0.12.4",
"symfony/polyfill-intl-idn": "^1.0.0",
"symfony/var-dumper": "^5.0.7", "symfony/var-dumper": "^5.0.7",
"yosymfony/toml": "^1.0.4" "yosymfony/toml": "^1.0.4"
}, },

View File

@ -4,11 +4,7 @@
*/ */
// Work around the silly timezone error // Work around the silly timezone error
$timezone = ini_get('date.timezone'); date_default_timezone_set('UTC');
if ($timezone === '' || $timezone === FALSE)
{
ini_set('date.timezone', 'GMT');
}
define('AC_TEST_ROOT_DIR', dirname(__DIR__) . '/'); define('AC_TEST_ROOT_DIR', dirname(__DIR__) . '/');
define('SRC_DIR', AC_TEST_ROOT_DIR . 'src/'); define('SRC_DIR', AC_TEST_ROOT_DIR . 'src/');