path: root/test/KolabAdmin/Unit/BaseTest.php
AgeCommit message (Collapse)AuthorFilesLines
2010-02-21kolab/issue3499 (Kolab web admin does not use LDAP escaping)Gunnar Wrobel1-0/+13
Found the actual issue I tried to fix last time which was the broken midair collision check. Now it also makes sense why the function broke with the later fixing I did. Basically countMail() was not aware of any LDAP escaping when counting objects with an excluded DN. Should now be fixed and I added a test for that problem.
2010-02-21Add testing for countMail when adding users with escaped dn values. Manual ↵Gunnar Wrobel1-2/+15
testing of the application also looks good. Consider kolab/issue3499 (Kolab web admin does not use LDAP escaping) fixed.
2010-02-21Test counting with an existing user. Fix generation of the mail address when ↵Gunnar Wrobel1-1/+13
adding users.
2010-02-21Provide an add method to the Ldap class and add unit testing for it.Gunnar Wrobel1-2/+51
The web admin uses ldap_add() directly in the views at the moment. This should later be refactored to use the add() method in the library.
2010-02-21A first working test. This works only with an installed server right now but ↵Gunnar Wrobel1-2/+16
this results from the current code structure that simply allows no mocking/stubbing.
2010-02-21Correct path.Gunnar Wrobel1-1/+1
2010-02-17Start adding the standard unit test suite.Gunnar Wrobel1-0/+38