[Http-webtest-commits] HTTP-WebTest/t 05a-email-report.t,1.2,1.3
Brought to you by:
m_ilya,
richardanderson
|
From: Ilya M. <m_...@us...> - 2003-09-10 10:55:35
|
Update of /cvsroot/http-webtest/HTTP-WebTest/t
In directory sc8-pr-cvs1:/tmp/cvs-serv31988
Modified Files:
05a-email-report.t
Log Message:
Use $mock->fake_new(..) instead of $mock->fake_module(..., new => sub{ .. })
Index: 05a-email-report.t
===================================================================
RCS file: /cvsroot/http-webtest/HTTP-WebTest/t/05a-email-report.t,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** 05a-email-report.t 5 Sep 2003 19:33:40 -0000 1.2
--- 05a-email-report.t 10 Sep 2003 10:55:30 -0000 1.3
***************
*** 25,31 ****
$SMTP = Test::MockObject->new;
! Test::MockObject->fake_module('Net::SMTP',
! new => sub { $SMTP }
! );
require_ok('HTTP::WebTest::ReportPlugin');
--- 25,29 ----
$SMTP = Test::MockObject->new;
! $SMTP->fake_new('Net::SMTP');
require_ok('HTTP::WebTest::ReportPlugin');
|