]> git.agnieray.net Git - galette.git/commitdiff
Check if session extension is present; closes #1380
authorJohan Cwiklinski <jcwiklinski@teclib.com>
Sun, 19 Jan 2020 08:01:49 +0000 (09:01 +0100)
committerJohan Cwiklinski <jcwiklinski@teclib.com>
Sun, 19 Jan 2020 08:30:14 +0000 (09:30 +0100)
galette/lib/Galette/Core/CheckModules.php
tests/Galette/Core/tests/units/CheckModules.php

index 4e1aac53ff35629e0ed15fddf017a7b546111426..e30ea0ce49224ae15b3a74b21b0c2a7408330c33 100644 (file)
@@ -65,7 +65,8 @@ class CheckModules
         'gettext'   => false,
         'mbstring'  => true,
         'openssl'   => false,
-        'intl'      => true
+        'intl'      => true,
+        'session'   => true
     ];
 
 
index 6f77697697c6c2c87b19f45feff424a7f796cf0e..4767004adf07cf4fb0149001824a82464d1cd537 100644 (file)
@@ -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);
     }
 
     /**