This is a demo, a lot of tests could be rewritten as a followup to pass proper Authority when executing tests instead of writing globals. Much cleaner imho. An improvement idea is to allow overriding 'default permissions' when creating a mock Authority. Change-Id: I38570024e0d5a67a8e1c52f7456c458090ec2b6e |
||
|---|---|---|
| .. | ||
| content | ||
| filebackend | ||
| filerepo | ||
| json | ||
| languages | ||
| media | ||
| permissions | ||
| poolcounter | ||
| search | ||
| session | ||
| DummyServicesTrait.php | ||
| GhostFieldTestClass.php | ||
| MockChangesListFilter.php | ||
| MockChangesListFilterGroup.php | ||
| MockHttpTrait.php | ||
| MockMessageLocalizer.php | ||
| MockServiceDependenciesTrait.php | ||
| MockTitleTrait.php | ||
| NullHttpRequestFactory.php | ||
| NullMultiHttpClient.php | ||
| TestLocalisationCache.php | ||
| TestLogger.php | ||