forked from extern/egroupware
Some documentation updates
This commit is contained in:
parent
79af5c31fd
commit
afd97a449b
@ -1,7 +1,10 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Tests for ACL command
|
||||
* Tests for edit group command
|
||||
*
|
||||
* It would be good to check to see if the hooks get called, but that's impossible
|
||||
* with static hook calls.
|
||||
*
|
||||
* @link http://www.egroupware.org
|
||||
* @author Nathan Gray
|
||||
@ -29,6 +32,12 @@ class GroupCommandTest extends CommandBase {
|
||||
{
|
||||
// Can't set this until now - value is not available
|
||||
$this->group['account_members'] = array($GLOBALS['egw_info']['user']['account_id']);
|
||||
|
||||
if(($account_id = $GLOBALS['egw']->accounts->name2id($this->group['account_lid'])))
|
||||
{
|
||||
// Delete if there in case something went wrong
|
||||
$GLOBALS['egw']->accounts->delete($account_id);
|
||||
}
|
||||
}
|
||||
public function tearDown()
|
||||
{
|
||||
@ -138,6 +147,8 @@ class GroupCommandTest extends CommandBase {
|
||||
|
||||
/**
|
||||
* Test adding & removing a new member
|
||||
*
|
||||
* @depends UserCommandTest::testAddUser
|
||||
*/
|
||||
public function testChangeMembers()
|
||||
{
|
||||
|
@ -1,7 +1,10 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Tests for ACL command
|
||||
* Tests for edit user command
|
||||
*
|
||||
* It would be good to check to see if the hooks get called, but that's impossible
|
||||
* with static hook calls.
|
||||
*
|
||||
* @link http://www.egroupware.org
|
||||
* @author Nathan Gray
|
||||
|
Loading…
Reference in New Issue
Block a user