Commit d4a971a2f2a1e51207cfe5846671d31d1735d645

Authored by nbm
1 parent 187a4385

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
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 +?>
... ...