} );
is( ($artist->search_related('cds'))[3]->title, 'Big Flop', 'create_related ok' );
+SKIP: {
+
+ skip "Relationship with invalid cols not yet checked", 1;
+
# try to add a bogus relationship using the wrong cols
eval {
$artist->add_relationship(
};
like($@, qr/no such accessor/, 'failed when creating a rel with invalid key, ok');
+} # End SKIP block
+
# another bogus relationship using no join condition
eval {
$artist->add_relationship( tracks => 'DBICTest::Track' );