From: Arthur Axel "fREW" Schmidt Date: Fri, 4 Dec 2009 00:52:44 +0000 (+0000) Subject: still broken rno test, but now it actually tests mssql X-Git-Tag: v0.08116~103^2~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=commitdiff_plain;h=a2e274f5f64019ee5962d1b837ee7ce765d554a5 still broken rno test, but now it actually tests mssql --- diff --git a/t/sqlahacks/limit_dialects/rno.t b/t/sqlahacks/limit_dialects/rno.t index b814d39..e47e95f 100644 --- a/t/sqlahacks/limit_dialects/rno.t +++ b/t/sqlahacks/limit_dialects/rno.t @@ -6,14 +6,11 @@ use lib qw(t/lib); use DBICTest; use DBIC::SqlMakerTest; -my $schema = DBICTest->init_schema; -$schema->storage_type('::DBI::MSSQL'); - -# Trick the sqlite DB to use Top limit emulation -# We could test all of this via $sq->$op directly, -# but some conditions need a $rsrc -delete $schema->storage->_sql_maker->{_cached_syntax}; -$schema->storage->_sql_maker->limit_dialect ('RowNumberOver'); +my $schema = DBICTest->init_schema( + no_deploy => 1, + no_populate => 1, + storage_type => '::DBI::MSSQL', +); my $rs = $schema->resultset ('BooksInLibrary')->search ({}, { prefetch => 'owner', rows => 1, offset => 3 });