Detected while working on
There are a few files under privacy/classes/tests:
- "tests" is a wrong level2 namespace (it should be "test" - API name)
- "provider_testcase.php" should be somewhere under privacy/tests maybe fixtures.
I imagine that those files were put there originally because of, that way, being autoloaded, because they are extensively used by all the provider / privacy testcases in Moodle.
So, surely, it's tricky to move them out from autoloaded space and we'll have to wait for autoloading to work under "tests/" directories to get them moved.
So, just registering the found problem here. I've been searching for some issue in the Tracker about the "tests/" autoloading, but haven't found any, so far.