Have just 1 list of groups that should not be deleted.
This commit is contained in:
parent
464202303a
commit
da41082cbf
2 changed files with 32 additions and 1 deletions
13
t/Group.t
13
t/Group.t
|
|
@ -75,7 +75,7 @@ my @ipTests = (
|
|||
);
|
||||
|
||||
|
||||
plan tests => (148 + scalar(@scratchTests) + scalar(@ipTests)); # increment this value for each test you create
|
||||
plan tests => (152 + scalar(@scratchTests) + scalar(@ipTests)); # increment this value for each test you create
|
||||
|
||||
my $session = WebGUI::Test->session;
|
||||
my $testCache = WebGUI::Cache->new($session, 'myTestKey');
|
||||
|
|
@ -675,6 +675,17 @@ SKIP: {
|
|||
#
|
||||
################################################################
|
||||
|
||||
################################################################
|
||||
#
|
||||
# vitalGroup
|
||||
#
|
||||
################################################################
|
||||
|
||||
ok( WebGUI::Group->vitalGroup(7), 'vitalGroup: 7');
|
||||
ok( WebGUI::Group->vitalGroup(3), '... 3');
|
||||
ok( WebGUI::Group->vitalGroup('pbgroup000000000000015'), '... pbgroup000000000000015');
|
||||
ok(! WebGUI::Group->vitalGroup('27'), '... 27 is not vital');
|
||||
|
||||
END {
|
||||
$session->db->dbh->do('DROP TABLE IF EXISTS myUserTable');
|
||||
$testCache->flush;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue