From: Peter Rabbitson Date: Fri, 21 Jan 2011 17:49:57 +0000 (+0100) Subject: Make pg tests cleanup better after themselves X-Git-Tag: v0.08191~80 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e78c769d969556aa757109e0026165d7a7199acb;p=dbsrgits%2FDBIx-Class.git Make pg tests cleanup better after themselves --- diff --git a/t/72pg.t b/t/72pg.t index 6505507..5a79709 100644 --- a/t/72pg.t +++ b/t/72pg.t @@ -562,12 +562,12 @@ sub drop_test_schema { for my $stat ( 'DROP SCHEMA dbic_t_schema_5 CASCADE', - 'DROP SEQUENCE public.artist_artistid_seq', + 'DROP SEQUENCE public.artist_artistid_seq CASCADE', 'DROP SCHEMA dbic_t_schema_4 CASCADE', 'DROP SCHEMA dbic_t_schema CASCADE', - 'DROP SEQUENCE pkid1_seq', - 'DROP SEQUENCE pkid2_seq', - 'DROP SEQUENCE nonpkid_seq', + 'DROP SEQUENCE pkid1_seq CASCADE', + 'DROP SEQUENCE pkid2_seq CASCADE', + 'DROP SEQUENCE nonpkid_seq CASCADE', 'DROP SCHEMA dbic_t_schema_2 CASCADE', 'DROP SCHEMA dbic_t_schema_3 CASCADE', ) {