]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/commitdiff
TODO - value of fk from a multi relationship
authorZbigniew Lukasiak <zby@cpan.org>
Wed, 13 Oct 2010 17:53:51 +0000 (19:53 +0200)
committerZbigniew Lukasiak <zby@cpan.org>
Wed, 13 Oct 2010 17:53:51 +0000 (19:53 +0200)
t/lib/RunTests.pm

index defb70128de29976bb718a57ab4999d0328966dc..d3a4f7ba4de0f0c980d506672ab7e9bbee9a66a3 100644 (file)
@@ -9,7 +9,7 @@ use DBIx::Class::ResultSet::RecursiveUpdate;
 sub run_tests {
     my $schema = shift;
 
-    plan tests => 45;
+    plan tests => 46;
 
     my $dvd_rs  = $schema->resultset('Dvd');
     my $user_rs = $schema->resultset('User');
@@ -95,6 +95,10 @@ sub run_tests {
             ->find( { key1 => $onekey->id, key2 => 1 } ),
         'Twokeys_belongsto created'
     );
+    TODO: {
+        local $TODO = 'value of fk from a multi relationship';
+        is( $dvd->twokeysfk, $onekey->id, 'twokeysfk in Dvd' );
+    };
     is( $dvd->name, 'Test name', 'Dvd name set' );
 
     # changing existing records
This page took 0.021911 seconds and 4 git commands to generate.