From: Andy Grundman Date: Tue, 2 Aug 2005 02:06:26 +0000 (+0000) Subject: Fixed inflate to be a single hashref, I'm a moron :) X-Git-Tag: v0.03001~103 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ee647b1a66b79f48d2e24157947c9b7b04297ba4;p=dbsrgits%2FDBIx-Class.git Fixed inflate to be a single hashref, I'm a moron :) --- diff --git a/t/lib/DBICTest.pm b/t/lib/DBICTest.pm index ecd4921..ad9c127 100755 --- a/t/lib/DBICTest.pm +++ b/t/lib/DBICTest.pm @@ -159,8 +159,8 @@ DBICTest::CD->add_relationship( ); #DBICTest::CD->might_have(liner_notes => 'DBICTest::LinerNotes' => qw/notes/); DBICTest::CD->inflate_column( 'year', - { inflate => sub { DateTime->new( year => shift ) } }, - { deflate => sub { shift->year } } + { inflate => sub { DateTime->new( year => shift ) }, + deflate => sub { shift->year } } ); package DBICTest::Artist;