[Bps-public-commit] r20286 - RT-Authen-ExternalAuth/trunk/t

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Mar 8 22:09:57 EST 2011


Author: sunnavy
Date: Tue Mar  8 22:09:56 2011
New Revision: 20286

Modified:
   RT-Authen-ExternalAuth/trunk/t/ldap.t
   RT-Authen-ExternalAuth/trunk/t/ldap_privileged.t
   RT-Authen-ExternalAuth/trunk/t/sqlite.t

Log:
skip warnings tests in a less hacky way

Modified: RT-Authen-ExternalAuth/trunk/t/ldap.t
==============================================================================
--- RT-Authen-ExternalAuth/trunk/t/ldap.t	(original)
+++ RT-Authen-ExternalAuth/trunk/t/ldap.t	Tue Mar  8 22:09:56 2011
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use RT::Test tests => 10;
+use RT::Test;
 use Net::LDAP;
 use RT::Authen::ExternalAuth;
 
@@ -84,7 +84,6 @@
     is( $m->uri, $baseurl . '/SelfService/Closed.html' );
 }
 
-
 $ldap->unbind();
 
-$RT::Test::Web::DESTROY++; # not test warnings
+$m->get_warnings;

Modified: RT-Authen-ExternalAuth/trunk/t/ldap_privileged.t
==============================================================================
--- RT-Authen-ExternalAuth/trunk/t/ldap_privileged.t	(original)
+++ RT-Authen-ExternalAuth/trunk/t/ldap_privileged.t	Tue Mar  8 22:09:56 2011
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use RT::Test tests => 7;
+use RT::Test;
 use Net::LDAP;
 use RT::Authen::ExternalAuth;
 
@@ -73,4 +73,4 @@
 
 $ldap->unbind();
 
-$RT::Test::Web::DESTROY++; # not test warnings
+$m->get_warnings;

Modified: RT-Authen-ExternalAuth/trunk/t/sqlite.t
==============================================================================
--- RT-Authen-ExternalAuth/trunk/t/sqlite.t	(original)
+++ RT-Authen-ExternalAuth/trunk/t/sqlite.t	Tue Mar  8 22:09:56 2011
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 
-use RT::Test tests => 10;
+use RT::Test;
 use DBI;
 use File::Temp;
 use Digest::MD5;
@@ -88,4 +88,4 @@
     is( $m->uri, $baseurl . '/SelfService/Closed.html' );
 }
 
-$RT::Test::Web::DESTROY++; # not test warnings
+$m->get_warnings;



More information about the Bps-public-commit mailing list