remove useless test END blocks

This commit is contained in:
Graham Knop 2010-06-09 06:57:29 -05:00
parent 02af1c68f9
commit 6b1c3c8890
30 changed files with 0 additions and 150 deletions

View file

@ -68,9 +68,4 @@ is( $account->getUrl( 'op=account' ), $session->url->page( 'op=account' ),
'getUrl doesnt add op=account if already exists'
);
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl

View file

@ -69,9 +69,4 @@ is( $account->getUrl( 'op=account' ), $session->url->page( 'op=account' ),
'getUrl doesnt add op=account if already exists'
);
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl

View file

@ -507,10 +507,4 @@ $sub1->getFormattedComments;
#done_testing();
#print 'press return to complete test' ; <>;
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl

View file

@ -53,11 +53,4 @@ is($sku->getConfiguredTitle, "Test Donation (200)", "getConfiguredTitle()");
$sku->purge;
#----------------------------------------------------------------------------
# Cleanup
END {
}
1;

View file

@ -432,5 +432,3 @@ cmp_bag(
'...asset package data has the storage locations in it'
);
END {
}

View file

@ -1032,6 +1032,3 @@ sub buildSurveyJSON {
return $sjson;
}
#----------------------------------------------------------------------------
# Cleanup
END { }

View file

@ -2183,7 +2183,3 @@ sub getBareSkeletons {
type => 'answer',
};
}
#----------------------------------------------------------------------------
# Cleanup
END { }

View file

@ -276,7 +276,3 @@ $mech->submit_form_ok(
);
$mech->base_is( $assetUrl, "We don't get redirected" );
#----------------------------------------------------------------------------
# Cleanup
END {
}

View file

@ -45,9 +45,4 @@ $e = Exception::Class->caught;
isa_ok($e, 'WebGUI::Error');
isa_ok($e, 'WebGUI::Error::Shop::RemoteShippingRate');
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl

View file

@ -24,12 +24,6 @@ use WebGUI::Test;
# Init
my $session = WebGUI::Test->session;
#----------------------------------------------------------------------------
# Cleanup
END {
}
#----------------------------------------------------------------------------
# Tests

View file

@ -120,9 +120,4 @@ like( $html, qr{<table[^>]*id="test-container-table"}, "getTableHtml table has I
my $html = $dt->toHtml;
ok( $dt->get( "showEdit" ), "showEdit gets set by toHtml" );
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl

View file

@ -28,12 +28,6 @@ use WebGUI::Form::SelectRichEditor;
my $session = WebGUI::Test->session;
my $root = WebGUI::Asset->getRoot( $session );
#----------------------------------------------------------------------------
# Cleanup
END {
}
#----------------------------------------------------------------------------
# Tests
plan tests => 1;

View file

@ -46,10 +46,4 @@ is( $tab->label, 'My Label' );
is( $tab->label('New Label'), 'New Label' );
is( $tab->label, 'New Label' );
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl

View file

@ -73,10 +73,4 @@ $tempMessage->delete;
}
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl

View file

@ -68,8 +68,3 @@ ok( $adSpace->get('name') eq 'oldname', 'AdSpace does not get saved.' );
$adSpace->delete;
#----------------------------------------------------------------------------
# Cleanup
END {
}

View file

@ -55,9 +55,3 @@ unlike(
"Hidden form elements for login NOT displayed to valid user",
);
#----------------------------------------------------------------------------
# Cleanup
END {
}

View file

@ -454,10 +454,4 @@ cmp_deeply(
);
ok( !WebGUI::User->validUserId( $session, $userRed->getId ), "UserId no longer exists" );
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl

View file

@ -135,10 +135,3 @@ is($dumper->Dump, q|$VAR1 = {
);
};
#----------------------------------------------------------------------------
# Cleanup
END {
}

View file

@ -82,9 +82,4 @@ SKIP: {
cmp_deeply( $assetIds, [ $article->getId ], 'ideograph search works');
}
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl

View file

@ -239,5 +239,3 @@ TODO: {
ok(0, 'output from fatal when there is a db handler and request present');
}
END {
}

View file

@ -68,5 +68,3 @@ SKIP: {
}
END {
}

View file

@ -478,8 +478,3 @@ undef $driver;
}
#----------------------------------------------------------------------------
# Cleanup
END {
}

View file

@ -577,16 +577,5 @@ is ($count, 0, 'delete deleted the object');
undef $driver;
#----------------------------------------------------------------------------
# Cleanup
}
END {
}
#vim:ft=perl

View file

@ -79,7 +79,3 @@ undef $driver;
}
#----------------------------------------------------------------------------
# Cleanup
END {
}

View file

@ -401,8 +401,3 @@ undef $driver;
}
#----------------------------------------------------------------------------
# Cleanup
END {
}

View file

@ -126,10 +126,4 @@ SKIP: {
}
}
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl

View file

@ -15,7 +15,6 @@ use lib "$FindBin::Bin/lib";
use WebGUI::Test;
use WebGUI::Session;
use WebGUI::Storage;
use WebGUI::PseudoRequest;
use File::Spec;
use File::Temp qw/tempdir/;

View file

@ -281,6 +281,3 @@ TODO: {
local $TODO = "Methods that need to be tested";
ok(0, 'resize');
}
END {
}

View file

@ -143,9 +143,4 @@ $post2mock->set_always('getId', $post2_id);
WebGUI::Test->unmockAssetId($post_id);
}
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl

View file

@ -110,11 +110,4 @@ sub createInstance {
return $instance;
};
#----------------------------------------------------------------------------
# Cleanup
END {
}
#vim:ft=perl