Store collapser source in the resultset private metadata as well
[dbsrgits/DBIx-Class.git] / t / resultset / as_subselect_rs.t
index c0f8110..edfcae7 100644 (file)
@@ -1,12 +1,13 @@
+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
+
 use strict;
 use warnings;
 
 use Test::More;
 use Test::Exception;
 
-use lib qw(t/lib);
-use DBICTest;
-use DBIC::SqlMakerTest;
+
+use DBICTest ':DiffSQL';
 
 my $schema = DBICTest->init_schema();
 
@@ -40,8 +41,6 @@ is_same_sql_bind (
   'Resultset-class attributes do not seep outside of the subselect',
 );
 
-$schema->storage->debug(1);
-
 is_same_sql_bind(
   $schema->resultset('CD')->search ({}, {
     rows => 2,
@@ -70,5 +69,4 @@ is_same_sql_bind(
   [ [{ sqlt_datatype => 'integer' } => 2 ] ],
 );
 
-
 done_testing;