Merge 'trunk' into 'table_name_ref'
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / CD.pm
index 8bcbcee..1463d00 100644 (file)
@@ -59,6 +59,7 @@ __PACKAGE__->might_have(
     { proxy => [ qw/notes/ ] },
 );
 __PACKAGE__->might_have(artwork => 'DBICTest::Schema::Artwork', 'cd_id');
+__PACKAGE__->has_one(mandatory_artwork => 'DBICTest::Schema::Artwork', 'cd_id');
 
 __PACKAGE__->many_to_many( producers => cd_to_producer => 'producer' );
 __PACKAGE__->many_to_many(