pluginsGLPI / prelude

Integration with prelude siem for glpi
https://www.prelude-siem.com/
GNU General Public License v3.0
3 stars 1 forks source link

Breaks core unit tests #7

Open trasher opened 7 years ago

trasher commented 7 years ago

With prelude plugin in my plugins directory, ore's api tests turn broken:

There were 2 failures:

1) APIRestTest::testListSearchEmpty
Failed asserting that 5 matches expected 0.

/var/www/webapps/glpi/tests/API/APIRestTest.php:468

2) APIRestTest::testProtectedConfigSettings
Failed asserting that 206 matches expected 200.

/var/www/webapps/glpi/tests/API/APIRestTest.php:1144

Removing plugin from directoy solves the issue. I precise that all tests are preceded with a cliinstall call that empty the database.

orthagh commented 7 years ago

With my current branch (feature/iodef), the issue did not appear. I'm not sure which commit fix the test. Anyway, i plan to merge this branch very soon