public function testDefaultGroup() { // on met un des groupes par defaut jAclDbUserGroup::setDefaultGroup($this->grpId2, false); $this->assertTableContainsRecords('jacl_group', $this->groups); jAclDbUserGroup::setDefaultGroup($this->grpId2, true); $this->defaultGroupId = $this->grpId2; // for next test method $this->groups[1]['grouptype'] = 1; $this->assertTableContainsRecords('jacl_group', $this->groups); }