From: Arthur Axel "fREW" Schmidt Date: Wed, 14 Apr 2010 18:22:10 +0000 (+0000) Subject: test db in MC X-Git-Tag: v0.08122~72^2~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0f914ece4acf3d97bf1f9138a9060147307d6113;p=dbsrgits%2FDBIx-Class.git test db in MC --- diff --git a/t/row/filter_column.t b/t/row/filter_column.t index 49b630d..6575ea4 100644 --- a/t/row/filter_column.t +++ b/t/row/filter_column.t @@ -55,7 +55,15 @@ MC: { title => 'fun time city!', year => 'forevertime', }); - is $cd->artist->rank, 20, 'artist rank gets correctly unfiltered then filtered on MC'; + ($raw_db_rank) = $schema->resultset('Artist') + ->search ($cd->artist->ident_condition) + ->get_column('rank') + ->_resultset + ->cursor + ->next; + + is $raw_db_rank, 10, 'artist rank gets correctly unfiltered w/ MC'; + is $cd->artist->rank, 20, 'artist rank gets correctly filtered w/ MC'; } done_testing;