Commit 40252a2dea881d44a6cfd743913af80e1e207cef
1 parent
867434dc
Add a simple test of the group synchronisation.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4839 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
11 additions
and
0 deletions
tests/authentication/synchroniseGroupToSource.php
0 → 100644
| 1 | +<?php | |
| 2 | + | |
| 3 | +require_once("../../config/dmsDefaults.php"); | |
| 4 | +require_once(KT_LIB_DIR . '/groups/Group.inc'); | |
| 5 | +require_once(KT_LIB_DIR . '/authentication/authenticationutil.inc.php'); | |
| 6 | + | |
| 7 | +$oGroup = Group::get(5); | |
| 8 | +$foo = KTAuthenticationUtil::synchroniseGroupToSource($oGroup); | |
| 9 | +var_dump($foo); | |
| 10 | + | |
| 11 | +?> | ... | ... |