Significant refactoring of ldap_servers to make it more testable
Includes new test cases for ldap_user and splits up cumbersome functions into distinct pieces for better testability. Also moves out the semaphore storage into its own class.
Showing
- ldap_authentication/ldap_authentication.module 34 additions, 5 deletionsldap_authentication/ldap_authentication.module
- ldap_authentication/src/LdapAuthenticationConfAdmin.php 9 additions, 1 deletionldap_authentication/src/LdapAuthenticationConfAdmin.php
- ldap_authorization/src/Plugin/authorization/Provider/LDAPAuthorizationProvider.php 8 additions, 10 deletions...ugin/authorization/Provider/LDAPAuthorizationProvider.php
- ldap_feeds/FeedsDrupalUserLdapEntryFetcher.inc 3 additions, 2 deletionsldap_feeds/FeedsDrupalUserLdapEntryFetcher.inc
- ldap_feeds/ldap_feeds.module 2 additions, 1 deletionldap_feeds/ldap_feeds.module
- ldap_servers/ldap_servers.api.php 5 additions, 4 deletionsldap_servers/ldap_servers.api.php
- ldap_servers/ldap_servers.module 105 additions, 385 deletionsldap_servers/ldap_servers.module
- ldap_servers/src/Form/LdapServersSettings.php 2 additions, 2 deletionsldap_servers/src/Form/LdapServersSettings.php
- ldap_servers/src/ServerFactory.php 90 additions, 2 deletionsldap_servers/src/ServerFactory.php
- ldap_servers/src/TokenFunctions.php 73 additions, 1 deletionldap_servers/src/TokenFunctions.php
- ldap_servers/tests/src/Unit/ServerTests.php 28 additions, 8 deletionsldap_servers/tests/src/Unit/ServerTests.php
- ldap_user/README.developers.txt 1 addition, 1 deletionldap_user/README.developers.txt
- ldap_user/ldap_user.module 44 additions, 113 deletionsldap_user/ldap_user.module
- ldap_user/src/EventSubscriber/InitSubscriber.php 2 additions, 1 deletionldap_user/src/EventSubscriber/InitSubscriber.php
- ldap_user/src/Form/LdapUserAdminForm.php 8 additions, 2 deletionsldap_user/src/Form/LdapUserAdminForm.php
- ldap_user/src/Form/LdapUserTestForm.php 5 additions, 3 deletionsldap_user/src/Form/LdapUserTestForm.php
- ldap_user/src/LdapUserConf.php 16 additions, 52 deletionsldap_user/src/LdapUserConf.php
- ldap_user/src/SemaphoreStorage.php 29 additions, 0 deletionsldap_user/src/SemaphoreStorage.php
- ldap_user/src/Tests/LdapUserIntegrationTests.php 3 additions, 2 deletionsldap_user/src/Tests/LdapUserIntegrationTests.php
- ldap_user/src/Tests/LdapUserUnitTests.php 5 additions, 2 deletionsldap_user/src/Tests/LdapUserUnitTests.php
Loading
Please register or sign in to comment