-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDAP Integration Tests fail due to autoloader #544
Comments
Do you run the using phpunit directly? If the app is enabled it should be allowed to autoload. |
@rullzer not unit tests, nothing do with phpunit. Running directly from cli. App is enabled. |
Tests is only registered in phpunit: server/lib/private/legacy/app.php Lines 172 to 174 in 0215b00
So you can also |
@nickvergessen this helps, thx |
fix autoloading in LPAP integration tests, resolves #544
[stable10] fix autoloading in LPAP integration tests, resolves #544
For example, I want to run
/apps/user_ldap/tests/IntegrationLib/IntegrationTestAccessGroupsMatchFilter.php
the test will fail with:I failed to figure out how the paths are constructed by the autoloader (as in have not seen where OCA stuff is registered as PSR-4 thingy):
Anyway, to make the test run again, I need a line like
in test file.
I am doubtful whether this is the best approach. Opinions, @rullzer @nickvergessen ?
The text was updated successfully, but these errors were encountered: