use_ok('DBICTest');
DBICTest->init_schema();
-DBICTest->schema->storage->sql_maker->quote_char("'");
+DBICTest->schema->storage->sql_maker->quote_char('`');
DBICTest->schema->storage->sql_maker->name_sep('.');
my $rs = DBICTest::CD->search(
my $warnings = '';
local $SIG{__WARN__} = sub { $warnings .= $_[0] };
my $first = eval{ $rs->first() };
- ok( $warnings =~ /ORDER BY terms/, "Problem with ORDER BY quotes" );
+ like( $warnings, qr/no such column: year DESC/, "Problem with ORDER BY quotes" );
}
my $order = 'year DESC';