Update number of tests to skip when the correct modules aren't present.

This commit is contained in:
Colin Kuskie 2009-08-21 04:23:16 +00:00
parent 4e3fd9ed40
commit 0390d77833

View file

@ -281,7 +281,7 @@ WebGUI::Test->groupsToDelete($inboxGroup);
$inboxGroup->addUsers([$emailUser->userId, $inboxUser->userId, $lonelyUser->userId]); $inboxGroup->addUsers([$emailUser->userId, $inboxUser->userId, $lonelyUser->userId]);
SKIP: { SKIP: {
my $numtests = 3; # Number of tests in this block my $numtests = 1; # Number of tests in this block
# Must be able to write the config, or we'll die # Must be able to write the config, or we'll die
skip "Cannot test email notifications", $numtests unless $smtpServerOk; skip "Cannot test email notifications", $numtests unless $smtpServerOk;