[Bast-commits] r5163 - DBIx-Class/0.08/branches/multicreate/t
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Thu Nov 20 10:37:47 GMT 2008
Author: ribasushi
Date: 2008-11-20 10:37:47 +0000 (Thu, 20 Nov 2008)
New Revision: 5163
Modified:
DBIx-Class/0.08/branches/multicreate/t/66relationship.t
DBIx-Class/0.08/branches/multicreate/t/96multi_create.t
Log:
Reinstate todoified tests
Modified: DBIx-Class/0.08/branches/multicreate/t/66relationship.t
===================================================================
--- DBIx-Class/0.08/branches/multicreate/t/66relationship.t 2008-11-20 10:36:25 UTC (rev 5162)
+++ DBIx-Class/0.08/branches/multicreate/t/66relationship.t 2008-11-20 10:37:47 UTC (rev 5163)
@@ -262,8 +262,6 @@
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 @@
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.");
-}
Modified: DBIx-Class/0.08/branches/multicreate/t/96multi_create.t
===================================================================
--- DBIx-Class/0.08/branches/multicreate/t/96multi_create.t 2008-11-20 10:36:25 UTC (rev 5162)
+++ DBIx-Class/0.08/branches/multicreate/t/96multi_create.t 2008-11-20 10:37:47 UTC (rev 5163)
@@ -168,8 +168,6 @@
};
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 @@
);
};
diag $@ if $@;
-}
# nested find_or_create
eval {
More information about the Bast-commits
mailing list