glpi-project / glpi

GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing.
https://glpi-project.org
GNU General Public License v3.0
4.16k stars 1.28k forks source link

[9.3-RC2] - test failure #4165

Closed remicollet closed 6 years ago

remicollet commented 6 years ago
+ atoum --debug --use-dot-report --bootstrap-file tests/bootstrap.php --no-code-coverage --max-children-number 1 -d tests/functionnal

...

> There is 1 failure:
=> tests\units\Auth::testGetLoginAuthMethods():
In file /dev/shm/BUILD/glpi-222fd2dc5d8a301bd4b691f760200ce10ae8e34f/tests/functionnal/Auth.php on line 72, array() failed: array(3) is not identical to array(2)
-Expected
+Actual
@@ -1 +1 @@
-array(2) {
+array(3) {
@@ -3 +3 @@
-  string(5) "local"
+  string(6) "ldap-1"
@@ -6 +6,2 @@
+  ["ldap-1"]=>
+  string(11) "_local_ldap"

There is also some test with "deprecated" messages.

remicollet commented 6 years ago

Seems related to 978846a8606641a1adaf25814bb12ca53e3d7303

trasher commented 6 years ago

Strange that you throw this issue but not our CI :/ Will take a look, thank you.

trasher commented 6 years ago

As for deprecated messages; yes, this is intended... Some methods are now deprecated, but I've kept tests on them to ensure there is no break until they're removed ;)

remicollet commented 6 years ago

Seems related to local environmant