X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F93autocast.t;h=0a146a7ee037c9e30a1c31a753ccd08be081042f;hb=4e0a89e400d865458081bc5af9e0eedf349f60de;hp=682755a6375bb94acaefe511e83f283b13c4342e;hpb=a77413354fab06f5c234166049de1ee19a95c7e1;p=dbsrgits%2FDBIx-Class.git diff --git a/t/93autocast.t b/t/93autocast.t index 682755a..0a146a7 100644 --- a/t/93autocast.t +++ b/t/93autocast.t @@ -20,7 +20,7 @@ use DBIC::SqlMakerTest; int => undef, # no conversion }; - sub _map_data_type { + sub _native_data_type { return $type_map->{$_[1]}; } } @@ -71,7 +71,7 @@ is_same_sql_bind ( WHERE cdid > CAST(? AS INT) AND tracks.last_updated_at IS NOT NULL - AND tracks.last_updated_on < CAST (? AS yyy) + AND tracks.last_updated_on < CAST (? AS DateTime) AND tracks.position = ? AND tracks.single_track = CAST(? AS INT) )',