ok($new_artist->in_storage, 'artist inserted');
ok($new_related_cd->in_storage, 'new_related_cd inserted');
-TODO: {
-local $TODO = "TODOify for multicreate branch";
my $new_cd = $schema->resultset("CD")->new_result({});
my $new_related_artist = $new_cd->new_related('artist', { 'name' => 'Marillion',});
lives_ok (
my $rs_overridden = $schema->source('ForceForeign');
my $relinfo_with_attr = $rs_overridden->relationship_info ('cd_3');
cmp_ok($relinfo_with_attr->{attrs}{is_foreign_key_constraint}, '==', 0, "is_foreign_key_constraint defined for belongs_to relationships with attr.");
-}
};
diag $@ if $@;
-TODO: {
-local $TODO = "Todoify for multicreate branch";
# test might_have again but with a PK == FK in the middle (obviously not specified)
eval {
my $artist = $schema->resultset('Artist')->first;
);
};
diag $@ if $@;
-}
# nested find_or_create
eval {