stable

Clone or download

Read-only

chore(svn/el9): Add tests for SVN default block generation

This is a follow-up of ae0a0c35d596ddf903eaaaa1ffc7e2c56d9c2ac3 and more precisly to comments made by @jmasson https://gerrit.tuleap.net/c/tuleap/+/29961 This commit comes with a bit more as I had to move the LDAP_UserDao out of legacy data access model to avoid endless fights against psalm. Part of: request #31541 svn 1.10+ no longer supports duplicate sections Change-Id: I83428ffb49fcd2ea0fe0cefb6b03b6a1d7e36b32

Modified Files

Name
M plugins/ldap/include/LDAP_ProjectManager.class.php +13 −16 Go to diff View file
D plugins/ldap/include/LDAP_UserDao.class.php +0 −197 Go to diff View file
M plugins/ldap/include/LDAP_UserManager.class.php +16 −30 Go to diff View file
A plugins/ldap/include/Project/UsesLDAPAuthProvider.php +29 −0 Go to diff View file
M plugins/ldap/include/SVN/SVNAccessFileDefaultBlockForLDAP.php +3 −2 Go to diff View file
A plugins/ldap/include/User/LdapLoginFromTuleapUserIdProvider.php +33 −0 Go to diff View file
A plugins/ldap/include/User/UserDao.php +146 −0 Go to diff View file
M plugins/ldap/include/WelcomeUpdateController.php +3 −3 Go to diff View file
M plugins/ldap/include/ldapPlugin.php +6 −5 Go to diff View file
M plugins/ldap/include/system_event/SystemEvent_PLUGIN_LDAP_UPDATE_LOGIN.class.php +1 −1 Go to diff View file
D plugins/ldap/tests/unit/LDAPUserDaoTest.php +0 −87 Go to diff View file
A plugins/ldap/tests/unit/SVN/SVNAccessFileDefaultBlockForLDAPTest.php +203 −0 Go to diff View file
M plugins/ldap/tests/unit/UserManagerTest.php +6 −3 Go to diff View file
M plugins/ldap/tests/unit/WelcomeUpdateControllerTest.php +1 −1 Go to diff View file
M tests/unit/common/SVNCore/SvnAccessFileDefaultBlockGeneratorTest.php +84 −98 Go to diff View file