]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blobdiff - t/lib/DBSchema/Result/Twokeys.pm
add_relationship without the accessor attribute is invalid
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / lib / DBSchema / Result / Twokeys.pm
index 7d71d01dd9e1d6ae3db356cef318a27010386f7c..ee9f15ec75631f93776f68c53df3337f3a83100d 100644 (file)
@@ -15,7 +15,7 @@ __PACKAGE__->add_columns(
 );
 __PACKAGE__->set_primary_key("dvd_name", "key2");
 
-__PACKAGE__->add_relationship('like_belongs_to', 'DBSchema::Result::Dvd', { 'foreign.name' => 'self.dvd_name' }, );
+__PACKAGE__->add_relationship('like_belongs_to', 'DBSchema::Result::Dvd', { 'foreign.name' => 'self.dvd_name' }, { accessor => 'single' });
 
 
 1;
This page took 0.016632 seconds and 4 git commands to generate.