Commit 58eecf42ab288d492e78c66e12f387be7878e74d
1 parent
8cd91b90
testing update
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@91 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
4 deletions
tests/administration/UnitManager.php
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | // main library routines and defaults |
| 4 | -require_once("../config/dmsDefaults.php"); | |
| 4 | +require_once("../../config/dmsDefaults.php"); | |
| 5 | 5 | require_once("$default->owl_fs_root/lib/owl.lib.php"); |
| 6 | 6 | require_once("$default->owl_fs_root/lib/administration/UnitManager.inc"); |
| 7 | 7 | |
| ... | ... | @@ -9,14 +9,13 @@ echo "<pre>"; |
| 9 | 9 | // unit tests for UnitManager methods |
| 10 | 10 | |
| 11 | 11 | $um = new UnitManager(); |
| 12 | -/* | |
| 13 | 12 | $userArray = $um->listLdapUsers($userNameSearch); |
| 14 | 13 | if (!'userArray') { |
| 15 | 14 | echo "ldap user lookup failed!<br>"; |
| 16 | 15 | } else { |
| 17 | 16 | print_r($userArray); |
| 18 | 17 | } |
| 19 | -*/ | |
| 18 | +/* | |
| 20 | 19 | // do some transformation of the first entry in the array? |
| 21 | 20 | // think maybe just set username = uid |
| 22 | 21 | |
| ... | ... | @@ -39,6 +38,6 @@ if (!$result) { |
| 39 | 38 | } else { |
| 40 | 39 | echo "added user successfully<br>"; |
| 41 | 40 | } |
| 42 | - | |
| 41 | +*/ | |
| 43 | 42 | echo "</pre>"; |
| 44 | 43 | ?> | ... | ... |