[Rt-commit] r8899 - rtfm/branches/2.1-TESTING/t

ruz at bestpractical.com ruz at bestpractical.com
Tue Sep 4 11:21:05 EDT 2007


Author: ruz
Date: Tue Sep  4 11:21:05 2007
New Revision: 8899

Modified:
   rtfm/branches/2.1-TESTING/t/ArticleCollection_Overlay.pm.t
   rtfm/branches/2.1-TESTING/t/Class_Overlay.pm.t
   rtfm/branches/2.1-TESTING/t/URI_fsck_com_rtfm.t

Log:
* fix minor mistakes(typos and redefinition of 'my' var)

Modified: rtfm/branches/2.1-TESTING/t/ArticleCollection_Overlay.pm.t
==============================================================================
--- rtfm/branches/2.1-TESTING/t/ArticleCollection_Overlay.pm.t	(original)
+++ rtfm/branches/2.1-TESTING/t/ArticleCollection_Overlay.pm.t	Tue Sep  4 11:21:05 2007
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More test => 31;
+use Test::More tests => 31;
 BEGIN { require 't/utils.pl' }
 
 use_ok 'RT';

Modified: rtfm/branches/2.1-TESTING/t/Class_Overlay.pm.t
==============================================================================
--- rtfm/branches/2.1-TESTING/t/Class_Overlay.pm.t	(original)
+++ rtfm/branches/2.1-TESTING/t/Class_Overlay.pm.t	Tue Sep  4 11:21:05 2007
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More test => 14;
+use Test::More tests => 14;
 BEGIN { require 't/utils.pl' }
 
 use_ok 'RT';

Modified: rtfm/branches/2.1-TESTING/t/URI_fsck_com_rtfm.t
==============================================================================
--- rtfm/branches/2.1-TESTING/t/URI_fsck_com_rtfm.t	(original)
+++ rtfm/branches/2.1-TESTING/t/URI_fsck_com_rtfm.t	Tue Sep  4 11:21:05 2007
@@ -31,6 +31,6 @@
 );
 ok($id,$msg);
 
-my $uri = RT::URI::fsck_com_rtfm->new( $article->CurrentUser );
+$uri = RT::URI::fsck_com_rtfm->new( $article->CurrentUser );
 is $uri->LocalURIPrefix . $article->id, $uri->URIForObject( $article );
 


More information about the Rt-commit mailing list