Update of /cvsroot/http-webtest/HTTP-WebTest/t
In directory sc8-pr-cvs1:/tmp/cvs-serv17392
Modified Files:
05a-email-report.t
Log Message:
Fix a bug in tests for email reports with mail option set to errors
Index: 05a-email-report.t
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest/t/05a-email-report.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** 05a-email-report.t 26 Apr 2003 15:11:06 -0000 1.1
--- 05a-email-report.t 5 Sep 2003 19:33:40 -0000 1.2
***************
*** 47,51 ****
$GLOBAL_PARAMS{mail} = 'errors';
! $WEBTEST->set_series(have_succeed => 0, 1);
ok(!$REPORT_PLUGIN->_email_report_is_expected(),
"'mail' param is 'errors' - only send email report if failed tests");
--- 47,51 ----
$GLOBAL_PARAMS{mail} = 'errors';
! $WEBTEST->set_series(have_succeed => 1, 0);
ok(!$REPORT_PLUGIN->_email_report_is_expected(),
"'mail' param is 'errors' - only send email report if failed tests");
|