From: Peter Rabbitson Date: Thu, 20 Nov 2008 10:37:47 +0000 (+0000) Subject: Reinstate todoified tests X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=62050a02c0c34ecd6bf2987ffaa40d9989d180b6;p=dbsrgits%2FDBIx-Class-Historic.git Reinstate todoified tests --- diff --git a/t/66relationship.t b/t/66relationship.t index 3a96107..224403c 100644 --- a/t/66relationship.t +++ b/t/66relationship.t @@ -262,8 +262,6 @@ is ($@, '', 'Staged insertion successful'); 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 ( @@ -287,4 +285,3 @@ cmp_ok($relinfo->{attrs}{is_foreign_key_constraint}, '==', 1, "is_foreign_key_co 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."); -} diff --git a/t/96multi_create.t b/t/96multi_create.t index 4445f3f..e202c59 100644 --- a/t/96multi_create.t +++ b/t/96multi_create.t @@ -168,8 +168,6 @@ eval { }; 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; @@ -260,7 +258,6 @@ eval { ); }; diag $@ if $@; -} # nested find_or_create eval {