[Rt-commit] rt branch, 4.0/test-warnings, updated. rt-4.0.0-185-g330fa76
Shawn Moore
sartak at bestpractical.com
Tue May 3 15:38:58 EDT 2011
The branch, 4.0/test-warnings has been updated
via 330fa768e8aa7cb3928d656466fd7c5a27015f72 (commit)
from 494010c1452b89f61fa036002bcd13246b40e581 (commit)
Summary of changes:
t/web/walk.t | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 330fa768e8aa7cb3928d656466fd7c5a27015f72
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue May 3 15:38:30 2011 -0400
Pass $m so its destroy runs before global destruction
diff --git a/t/web/walk.t b/t/web/walk.t
index 6f4bca0..5ebe0d4 100644
--- a/t/web/walk.t
+++ b/t/web/walk.t
@@ -63,12 +63,13 @@ my @links = (
);
for my $link (@links) {
- test_page($link);
+ test_page($m, $link);
}
$m->get_ok('/NoAuth/Logout.html');
sub test_page {
+ my $m = shift;
my $link = shift;
$m->get_ok( $link, $link );
my $tree = HTML::TreeBuilder->new();
@@ -83,7 +84,7 @@ sub test_page {
( $page_menu ? $page_menu->find('a') : () );
for my $link (@links) {
- test_page($link);
+ test_page($m, $link);
}
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list