From: Michael G Schwern Date: Wed, 13 Feb 2008 08:14:34 +0000 (-0800) Subject: Forgot to set up the relationship between Actor and Film. Turns it out X-Git-Tag: v0.08240~541^2~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=abb4aae3f058566ca6f42e6ed835b1d272eff3f5;p=dbsrgits%2FDBIx-Class.git Forgot to set up the relationship between Actor and Film. Turns it out was working because create() was holding onto the given values but once we changed it to throw them out it (properly) broke. --- diff --git a/t/cdbi-t/columns_as_hashes.t b/t/cdbi-t/columns_as_hashes.t index 3eca270..f85f50f 100644 --- a/t/cdbi-t/columns_as_hashes.t +++ b/t/cdbi-t/columns_as_hashes.t @@ -78,7 +78,8 @@ warning_is { }; require Actor; - + Actor->has_a( film => "Film" ); + my $actor = Actor->insert({ name => 'Emily Watson', film => $waves,