Adding 'RETURNING *' to each body_part.
[dbsrgits/DBIx-Class-ResultSource-MultipleTableInheritance.git] / t / 02view_def.t
index 35e0bd7..2829ff0 100644 (file)
@@ -8,7 +8,7 @@ use Devel::Dwarn;
 
 BEGIN {
     use_ok 'MTITest';
-    $ENV{DBIC_TRACE} = 1;
+    #$ENV{DBIC_TRACE} = 1;
 }
 
 dies_ok { MTITest->source('Foo')->view_definition }
@@ -17,13 +17,8 @@ dies_ok { MTITest->source('Foo')->view_definition }
 #my $schema = MTITest->connect('dbi:SQLite::memory:');
 
 my $schema = MTITest->connect( 'dbi:Pg:dbname=mti', 'postgres', '' );
-diag(DwarnS $schema);
 
-#diag("MTITest view definition: ", $schema->resultset('Bar')->result_source->view_definition);
 my $dir = "t/sql";    # tempdir(CLEANUP => 0);
 
 $schema->create_ddl_dir( ['PostgreSQL'], 0.1, $dir );
 $schema->deploy( { add_drop_table => 1, add_drop_view => 1 } );
-
-#diag DwarnS $schema->source($_)->view_definition for qw(Foo Bar);
-#diag DwarnS $schema->source($_) for qw(Foo Bar);