From: Johan Cwiklinski Date: Sun, 19 Jan 2020 08:01:49 +0000 (+0100) Subject: Check if session extension is present; closes #1380 X-Git-Tag: 0.9.3.1~1^2~12 X-Git-Url: https://git.agnieray.net/?a=commitdiff_plain;h=214734db9a52a7696d873aede6b07f879039029a;p=galette.git Check if session extension is present; closes #1380 --- diff --git a/galette/lib/Galette/Core/CheckModules.php b/galette/lib/Galette/Core/CheckModules.php index 4e1aac53f..e30ea0ce4 100644 --- a/galette/lib/Galette/Core/CheckModules.php +++ b/galette/lib/Galette/Core/CheckModules.php @@ -65,7 +65,8 @@ class CheckModules 'gettext' => false, 'mbstring' => true, 'openssl' => false, - 'intl' => true + 'intl' => true, + 'session' => true ]; diff --git a/tests/Galette/Core/tests/units/CheckModules.php b/tests/Galette/Core/tests/units/CheckModules.php index 6f7769769..4767004ad 100644 --- a/tests/Galette/Core/tests/units/CheckModules.php +++ b/tests/Galette/Core/tests/units/CheckModules.php @@ -63,7 +63,7 @@ class CheckModules extends atoum $checks = new \Galette\Core\CheckModules(); $this->boolean($checks->isValid())->isTrue(); $this->integer(count($checks->getGoods())) - ->isLessThanOrEqualTo(9) + ->isLessThanOrEqualTo(10) ->isGreaterThanOrEqualTo(6); $this->array($checks->getMissings()) ->isEmpty(); @@ -91,10 +91,10 @@ class CheckModules extends atoum ->array($checks->getShoulds()) ->hasSize(4) ->array($checks->getMissings()) - ->hasSize(5) + ->hasSize(6) ->string($checks->toHtml()) ->notContains('icon-valid.png') - ->hasLength(1027); + ->hasLength(1141); } /**