database_event does not need to be explictly added, constructor works properly now
Justin Hunter [Thu, 21 Oct 2010 21:58:05 +0000 (14:58 -0700)]
t/13schema.t

index 497ea75..7f77d54 100644 (file)
@@ -625,8 +625,6 @@ TODO: {
         action              => $action,
     }) or die $s->error;
 
-    $t->add_database_event('insert');
-
     isa_ok( $t, 'SQL::Translator::Object::Trigger', 'Trigger' );
     isa_ok( $t->schema, 'SQL::Translator::Object::Schema', 'Schema' );
     is( $t->schema->name, 'TrigTest', qq[Schema name is "'TrigTest'"] );