Fix number of skips in tests.
This commit is contained in:
parent
3a6e8a83d0
commit
cbb32cbce8
1 changed files with 2 additions and 2 deletions
|
|
@ -149,7 +149,7 @@ my $smtpServerOk = 0;
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
# Test emailOverride
|
# Test emailOverride
|
||||||
SKIP: {
|
SKIP: {
|
||||||
my $numtests = 1; # Number of tests in this block
|
my $numtests = 2; # 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
|
||||||
if ( !-w File::Spec->catfile( WebGUI::Test::root, 'etc', WebGUI::Test::file() ) ) {
|
if ( !-w File::Spec->catfile( WebGUI::Test::root, 'etc', WebGUI::Test::file() ) ) {
|
||||||
|
|
@ -305,7 +305,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 = 1; # Number of tests in this block
|
my $numtests = 3; # 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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue