mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 11:31:05 +00:00
Merge pull request #3707 from wallabag/fix-test-de-at
Removing failing test from Travis
This commit is contained in:
commit
685a5d745e
2 changed files with 3 additions and 14 deletions
|
@ -1325,10 +1325,6 @@ class EntryControllerTest extends WallabagCoreTestCase
|
||||||
'http://www.hao123.com/shequ?__noscript__-=1',
|
'http://www.hao123.com/shequ?__noscript__-=1',
|
||||||
'zh_CN',
|
'zh_CN',
|
||||||
],
|
],
|
||||||
'de_AT' => [
|
|
||||||
'https://buy.garmin.com/de-AT/AT/catalog/product/compareResult.ep?compareProduct=112885&compareProduct=36728',
|
|
||||||
'de_AT',
|
|
||||||
],
|
|
||||||
'ru_RU' => [
|
'ru_RU' => [
|
||||||
'http://netler.ru/ikt/windows-error-reporting.htm',
|
'http://netler.ru/ikt/windows-error-reporting.htm',
|
||||||
'ru_RU',
|
'ru_RU',
|
||||||
|
|
|
@ -389,7 +389,7 @@ class SymfonyRequirements extends RequirementCollection
|
||||||
{
|
{
|
||||||
/* mandatory requirements follow */
|
/* mandatory requirements follow */
|
||||||
|
|
||||||
$installedPhpVersion = phpversion();
|
$installedPhpVersion = PHP_VERSION;
|
||||||
$requiredPhpVersion = $this->getPhpRequiredVersion();
|
$requiredPhpVersion = $this->getPhpRequiredVersion();
|
||||||
|
|
||||||
$this->addRecommendation(
|
$this->addRecommendation(
|
||||||
|
@ -448,15 +448,8 @@ class SymfonyRequirements extends RequirementCollection
|
||||||
}
|
}
|
||||||
|
|
||||||
if (false !== $requiredPhpVersion && version_compare($installedPhpVersion, $requiredPhpVersion, '>=')) {
|
if (false !== $requiredPhpVersion && version_compare($installedPhpVersion, $requiredPhpVersion, '>=')) {
|
||||||
$timezones = array();
|
|
||||||
foreach (DateTimeZone::listAbbreviations() as $abbreviations) {
|
|
||||||
foreach ($abbreviations as $abbreviation) {
|
|
||||||
$timezones[$abbreviation['timezone_id']] = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->addRequirement(
|
$this->addRequirement(
|
||||||
isset($timezones[@date_default_timezone_get()]),
|
in_array(@date_default_timezone_get(), DateTimeZone::listIdentifiers(), true),
|
||||||
sprintf('Configured default timezone "%s" must be supported by your installation of PHP', @date_default_timezone_get()),
|
sprintf('Configured default timezone "%s" must be supported by your installation of PHP', @date_default_timezone_get()),
|
||||||
'Your default timezone is not supported by PHP. Check for typos in your <strong>php.ini</strong> file and have a look at the list of deprecated timezones at <a href="http://php.net/manual/en/timezones.others.php">http://php.net/manual/en/timezones.others.php</a>.'
|
'Your default timezone is not supported by PHP. Check for typos in your <strong>php.ini</strong> file and have a look at the list of deprecated timezones at <a href="http://php.net/manual/en/timezones.others.php">http://php.net/manual/en/timezones.others.php</a>.'
|
||||||
);
|
);
|
||||||
|
@ -731,7 +724,7 @@ class SymfonyRequirements extends RequirementCollection
|
||||||
'Install and/or enable a <strong>PHP accelerator</strong> (highly recommended).'
|
'Install and/or enable a <strong>PHP accelerator</strong> (highly recommended).'
|
||||||
);
|
);
|
||||||
|
|
||||||
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
|
if ('WIN' === strtoupper(substr(PHP_OS, 0, 3))) {
|
||||||
$this->addRecommendation(
|
$this->addRecommendation(
|
||||||
$this->getRealpathCacheSize() >= 5 * 1024 * 1024,
|
$this->getRealpathCacheSize() >= 5 * 1024 * 1024,
|
||||||
'realpath_cache_size should be at least 5M in php.ini',
|
'realpath_cache_size should be at least 5M in php.ini',
|
||||||
|
|
Loading…
Reference in a new issue