Do you wish to register an account?
Browse Source

Fix broken tests

develop
Timothy Warren 4 months ago
parent
commit
160718eaa1
3 changed files with 79 additions and 83 deletions
  1. +2
    -2
      composer.json
  2. +76
    -76
      tests/AnimeClient/API/Kitsu/Transformer/__snapshots__/HistoryTransformerTest__testAnimeTransform__1.yml
  3. +1
    -5
      tests/bootstrap.php

+ 2
- 2
composer.json View File

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


+ 76
- 76
tests/AnimeClient/API/Kitsu/Transformer/__snapshots__/HistoryTransformerTest__testAnimeTransform__1.yml
File diff suppressed because it is too large
View File


+ 1
- 5
tests/bootstrap.php View File

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


Loading…
Cancel
Save