mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Some documentation updates
This commit is contained in:
parent
79af5c31fd
commit
afd97a449b
@ -1,7 +1,10 @@
|
|||||||
<?php
|
<?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
|
* @link http://www.egroupware.org
|
||||||
* @author Nathan Gray
|
* @author Nathan Gray
|
||||||
@ -29,6 +32,12 @@ class GroupCommandTest extends CommandBase {
|
|||||||
{
|
{
|
||||||
// Can't set this until now - value is not available
|
// Can't set this until now - value is not available
|
||||||
$this->group['account_members'] = array($GLOBALS['egw_info']['user']['account_id']);
|
$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()
|
public function tearDown()
|
||||||
{
|
{
|
||||||
@ -138,6 +147,8 @@ class GroupCommandTest extends CommandBase {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Test adding & removing a new member
|
* Test adding & removing a new member
|
||||||
|
*
|
||||||
|
* @depends UserCommandTest::testAddUser
|
||||||
*/
|
*/
|
||||||
public function testChangeMembers()
|
public function testChangeMembers()
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
<?php
|
<?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
|
* @link http://www.egroupware.org
|
||||||
* @author Nathan Gray
|
* @author Nathan Gray
|
||||||
|
Loading…
Reference in New Issue
Block a user