make t/76s and t/88 pass by deleting from the correct attr hash
[dbsrgits/DBIx-Class.git] / t / search / select_chains.t
index 6771d3b..aa428cc 100644 (file)
@@ -14,8 +14,9 @@ my $schema = DBICTest->init_schema();
 my @chain = (
   {
     columns     => [ 'cdid' ],
-    '+select'   => [ { lower => 'title' }, 'genreid' ],
-    '+as'       => [ qw/title_lc genreid/ ],
+    '+columns'  => [ { title_lc => { lower => 'title' } } ],
+    '+select'   => [ 'genreid' ],
+    '+as'       => [ 'genreid' ],
   } => 'SELECT me.cdid, LOWER( title ), me.genreid FROM cd me',
 
   {
@@ -49,7 +50,7 @@ while (@chain) {
 
   is_same_sql_bind (
     $rs->as_query,
-    "x( $sql )", # the x-es are here until SQLA is fixed
+    "($sql)",
     [],
     "Test $testno of SELECT assembly ok",
   );